Re: [Fxruby-users] (Non)modal dialogues.
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <jl...@cf...> - 2003-07-18 13:35:56
|
Hugh Sasse Staff Elec Eng wrote:
> FXDialogBoxes can be modal or nonmodal, and if they are model it
> makes sense to use ID_ACCEPT or ID_CANCEL to effect the return value
> of execute, otherwise one makes them disappear with hide.
>
> So, how does code in a subclassed FXDialogBox test whether the box
> is modal or not?
You should be able to use:
getApp().modal?(theDialogBox)
Hope this helps,
Lyle
|