[Gambas-user] Re turn Value from Form

Caveat Gambas at ...1950...
Wed Jul 25 12:37:18 CEST 2012


The property you need to check is Modal, the function to show a Modal 
form is ShowModal.

So:

      If Not fPersonell.Modal Then
        print "No"
      endif


Kind regards,
Caveat

On 25/07/12 12:02, Bill-Lancaster wrote:
> Thanks,
>
>       If Not fPersonell.ShowModal Then
>         print "No"
>       endif
>
> gets error: Type mismatch, wanted Boolean got function.
>
> Don't understand your comment "For normal form you need to use static var "





More information about the User mailing list