Ronaldo Rodrigues Ferreira
2006-Feb-13 15:56 UTC
[fxruby-users] FXDialogBox and the destroy and close methods
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? Very thanks, Waiting for answer. ----------------------------------------- Ronaldo Rodrigues Ferreira rrferreira at inf.ufrgs.br Universidade Federal do Rio Grande do Sul Instituto de Inform?tica Porto Alegre, Brazil ----------------------------------------- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Jeroen van der Zijp
2006-Feb-14 02:06 UTC
[fxruby-users] FXDialogBox and the destroy and close methods
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