[Gambas-user] Cancel the closing of a WebForm
Benoît Minisini
g4mba5 at gmail.com
Mon Nov 30 21:27:40 CET 2020
Le 30/11/2020 à 21:20, Mayost Sharon a écrit :
> Hello
>
> How to prevent a window WebForm2 closing by clicking the X on the left side of the WebForm2
>
>
> In WebForm1 When I press a button I display WebForm2 as follows
>
> Export
>
>
> Public Sub WebButton1_Click()
>
> Webform2.ShowModal(Webform1)
>
> End
>
>
> How to cancel close WebForm2 by the X on the side
>
> Thanks
>
You have to cancel the Close event with STOP EVENT.
Regards,
--
Benoît Minisini
More information about the User
mailing list