[Gambas-user] Me.Close not working as expected

bb adamnt42 at gmail.com
Thu Jul 1 20:08:40 CEST 2021


On Thu, 2021-07-01 at 18:58 +0100, Bruce Steers wrote:
> 
> 
> Maybe it's because you're inside an event already.
> Maybe Button1_Click event has to finish before the form can close.
> 
> so does this work as expected..
> 
> Me.Close  ' trigger close event
> Return  ' exit the current event
> 
> BruceS
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

It's another "Read every word ..." message, I'm afraid.

>From Window.Close (which is what Me.Close is calling)

"Closes the window, and returns an optional integer val....."

"Closes the window" != "Ends the program"

:-)
b



More information about the User mailing list