Is there a way to make FxMessageBox non-modal? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100731/bd63db58/attachment-0001.html>
On Sat, Jul 31, 2010 at 7:16 AM, Ralph Shnelvar <ralphs at dos32.com> wrote:> Is there a way to make FxMessageBox non-modal?Sorry for the delayed response. Since FXMessageBox is a subclass of FXDialogBox, the general answer is yes, you can run an FXMessageBox non-modally in the same way you would any other dialog box, e.g. message_box = FXMessageBox.new(...) message_box.show # instead of message_box.execute Having said that, I''m curious about why you''d want to do this. That is, I''ve never seen a GUI application where it displayed a message or "alert" box non-modally.
Lyle, Answer: The MessageBox alerts the user to an error. A text box is filled with a lengthy explanation of the possible causes and cures of the error. The text box may need scrolling. Once the message box goes away, the text in the "error text box" goes away and the previous text is restored. Tuesday, August 3, 2010, 10:43:43 AM, you wrote: LJ> Having said that, I''m curious about why you''d want to do this. That LJ> is, I''ve never seen a GUI application where it displayed a message or LJ> "alert" box non-modally. -- Best regards, Ralph mailto:ralphs at dos32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100803/96e95003/attachment.html>