Modal call Modal

  1. 6 months ago


    I have a small problem.

    In my web project I have one modal form, for examplo, called F1, with one textfield txTotal;
    F1 calls F2 (another modal webform).

    when I close F2 I would like to call one method in F1 to update txTotal; but I receive this error:

    F2.btClose.Action, line 50
    Static reference to instance method: call this on an instance of class F1.F1.

  2. Aurelian N

    12 Dec 2018 Pre-Release Testers, Xojo Pro

    Well because you have to create another instance of that form first and then push the data to it or fetch the data from it I guess and then close it and update .

  3. Wayne G

    12 Dec 2018 Pre-Release Testers, Xojo Pro New Zealand

    Implement the dismissed event for F2 on F1. Have a look at this example

or Sign Up to reply!