[fxruby-users] closing DialogBox in FXRuby

Lyle Johnson lyle at lylejohnson.name
Fri Sep 5 18:08:12 EDT 2008


On Fri, Sep 5, 2008 at 1:24 PM, MAwiniarski <MAwiniarski at gmail.com> wrote:

> I've got opened MainWindow and DialogBox in which I want to manipulate
> some data, using entry form and methods.
>
> How to close DialogBox to return to MainWindow not using standard "OK"
> "Cancel" buttons ?

Something like this should work:

    getApp().stopModal(dialogBox, true)
    dialogBox.hide

Hope this helps,

Lyle


More information about the fxruby-users mailing list