[Gambas-user] Disable closing window with X?

Ron ron at ...1740...
Wed Sep 10 15:05:17 CEST 2008


Hi,

is there a way to disable closing a window by using the X in the titlebar?
or removing the X?

If i use:
PUBLIC SUB Form_Close()
 
  STOP EVENT
 
END

ME.close is also disable ofcourse.

I need it for a login window, I only want to accept closing via a 
buttonpress after some checks...
Hmm I can add some logic I guess, and only do a stop event when user is 
not auth.

Regards,
Ron_2nd




More information about the User mailing list