"Non-blocking" dialogs

View: New views
2 Messages — Rating Filter:   Alert me  

"Non-blocking" dialogs

by David Toll :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I have, in my main window, a table; when I click on a cell, it displays a dialog.  In the dialog there is a table - when I click on a cell it displays another dialog, ......

When a dialog is open, access to previous level dialogs (or the main window) is "blocked" until all "child" dialogs are closed in the reverse order to which they were opened.

Is there any way to have them be "non-blocking" - i.e. so you could say return to the main window (or to a dialog part way down the chain) and click on another table cell?

        Thanks
                Dave

____________________________________________________________
David C. Toll, Research Staff Member
IBM T. J. Watson Research Center, 19 Skyline Drive, Hawthorne NY 10532
Phone: 914-784-7019 (t/l 863)   Fax: 914-784-6205 (t/l 863)  email: toll@...

_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: "Non-blocking" dialogs

by Lyle Johnson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On May 6, 2009, at 8:57 AM, David Toll wrote:

I have, in my main window, a table; when I click on a cell, it displays a dialog.  In the dialog there is a table - when I click on a cell it displays another dialog, ......

When a dialog is open, access to previous level dialogs (or the main window) is "blocked" until all "child" dialogs are closed in the reverse order to which they were opened.

Is there any way to have them be "non-blocking" - i.e. so you could say return to the main window (or to a dialog part way down the chain) and click on another table cell?

You should be able to call show() on the dialog box instead of execute() to make it non-modal.

_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users