Re: [Gambas-user] Disable closing window with X?

2008-09-10 Thread Ron
Laurent Carlier schreef: > Le mercredi 10 septembre 2008 15:05:17 Ron, vous avez écrit : > >> 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

Re: [Gambas-user] Disable closing window with X?

2008-09-10 Thread Laurent Carlier
Le mercredi 10 septembre 2008 15:05:17 Ron, vous avez écrit : > 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 w

[Gambas-user] Disable closing window with X?

2008-09-10 Thread Ron
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