[Gambas-user] How to wait until form is closed

Laurent Carlier lordheavym at ...626...
Sat Oct 4 21:28:04 CEST 2008


Le lundi 29 septembre 2008 17:06:21 wig, vous avez écrit :
> I made two forms in the IDE.
>
> I want the form Test2 only to appear after the form Test1 is closed.
>
> Can I let the program wait for the first Form to be closed?
>
> PUBLIC SUB Main()
>
>   FormTest1.Show()
>   ' wait till FormTest1 is closed ?
>   FormTest2.Show()
>
>   ...

Put FormTest2.Show() in FormTest1 close event ?

Regards,





More information about the User mailing list