Re: [Fxruby-users] Spoke too soon...
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@kn...> - 2004-03-15 14:18:43
|
On Mar 12, 2004, at 4:36 PM, Hal Fulton wrote: > Lyle Johnson wrote: >>> How do I pass the non-Esc keys back into the FXText object? >> false # i.e. signal that we didn't handle this message > > Works beautifully, thank you. > > What about the other issue? Is it doable? > > I want to click on the MDIClient background and take the focus > away from the child. Hmmm. Try this: * Make sure that the MDI client widget is enabled (i.e. it's not "deaf" to events) by calling its enable() method after you create it. * Add a handler on the MDI client for the SEL_LEFTBUTTONRELEASE (or SEL_LEFTBUTTONPRESS, if you prefer) and do the killFocus() in that one. Let me know how it goes, Lyle |