[Gambas-user] button x

Rob Kudla sourceforge-raindog2 at ...94...
Tue Dec 20 19:51:13 CET 2005


On Tue December 20 2005 04:46, Ignatius Syofian wrote:
> How can i hidden x button on top-right screen in my
> application ? What i means is If user run another file like
> file manager, then button x on top right screen still be
> exists, but not in my gambas application.

I think you may need to set your form's Border property to None 
and then set up some event handlers to allow the user to drag 
the window around (if you want him to.)

If you just want to be able to prevent the user from closing the 
form, you should try putting STOP EVENT in the Form_Close method 
of your form.  It won't stop him from killing the program, but 
the X button should have no effect.

Rob




More information about the User mailing list