[Gambas-user] button x

Ignatius Syofian isy21 at ...1082...
Wed Dec 21 04:35:43 CET 2005


Thanks Rob,

another question if i set form border=none, than modul name not display. It 
means i must put a texlabel on top form to replace that.

If i use STOP EVENT in Form_Close method. If i click Exit button i created 
(containts command Me.close) it not work anymore.

Maybe i choose to set form border=none and  i put a textlabel on top of form.
OR some other method maybe .... just wondering

but thanks anyway...it's so much help

On Wednesday 21 December 2005 01:51, Rob Kudla wrote:
> 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
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 
Regards,

Ignatius Syofian




More information about the User mailing list