Code hints

  1. 8 years ago

    matteolovatti

    8 Feb 2016 User since 2016

    Hello !

    can we get some hints on how to perform operations like pass a variable between windows, invoke a method or change a database query via code ?

    Been trying to get it myself in b2 but had no luck :(

    Thanks

  2. matteolovatti

    8 Feb 2016 User since 2016
    Edited 8 years ago by matteolovatti

    Found how to call a method finally ! If you're interested look at this example.

  3. Kwint

    9 Feb 2016 User since 2016

    Yeah, we really need some serious documentation in here.

  4. helio.costa

    10 Feb 2016 User since 2016

    The file hasn't opened and the folders are empty.

  5. matteolovatti

    10 Feb 2016 User since 2016
    Edited 8 years ago by matteolovatti

    mmm strange... let's try with a zip !

  6. knarfje

    10 Feb 2016 User since 2016

    I've had the same problem. But when you rename the zip (the folder) to app.creoproject it opens with no problems in Creo

  7. helio.costa

    10 Feb 2016 User since 2016

    Worked well now.

  8. marco

    11 Feb 2016 Administrator User since 2016

    Good catch @matteolovatti!
    We really need to document Gravity and we are working on some fix to the underline compiler.
    For example since function1 (in Matteo's example) is defined into Button1, from the Action event you should be able to call it using:

    function1("Hello");
    and not forced to write:
    Button1.function1("Hello");

  9. steveharman

    4 Mar 2016 User since 2016

    Why don't you *not* document Gravity, but instead use JavaScript which the world already understands?

or Sign Up to reply!