[fxruby-users] FXDialogBox and the destroy and close methods

Jeroen van der Zijp jeroen at fox-toolkit.org
Mon Feb 13 21:06:26 EST 2006


On Monday 13 February 2006 09:56, Ronaldo Rodrigues Ferreira wrote:
> Hi everyone!
> 
> 
>      I constructed a FXDialogBox instance. When I call the 
> TXTopWindow´s close() method or the FXWindow´s destroy() method, the 
> FXMainWindow becomes unavailable for use. It becomes inoperative. What 
> can I do to solve this problem?


Don't call FXTopWindow::close() since the window will be deleted
if the close succeeds [it first asks a question to e.g. prompt the
user to save any data, etc.].


	- Jeroen


-- 
+----------------------------------------------------------------------------+
| Copyright (C) 20:00 02/13/2006 Jeroen van der Zijp.   All Rights Reserved. |
+----------------------------------------------------------------------------+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/fxruby-users/attachments/20060213/28130473/attachment.bin


More information about the fxruby-users mailing list