[fxruby-users] Non-modal FXMessageBox

Lyle Johnson lyle at lylejohnson.name
Tue Aug 3 12:43:43 EDT 2010

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.

More information about the fxruby-users mailing list