[Gambas-user] New Form_State() event

Gianluigi bagonergi at gmail.com
Thu Apr 23 16:34:17 CEST 2020


Hi Benoit,
can you please tell me how the State event of the Form works?

I tried it like this:

Public Sub Form_State()

  If Me.Maximized Then Print "Maximized"
  If Me.Minimized Then Print "Minimized"
  If Me.FullScreen Then Print "Full screen"

End

But it doesn't work, thanks.

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200423/53aebd00/attachment.html>


More information about the User mailing list