On 02/01/2011 10:45 p.m., OKB (not okblacke) wrote:
>
>      Ah, I now tried doing self.Application.bindEvent instead, and that
> worked.  However, it's not ideal for my purpose, since I assume it's
> setting it globally for the app.
>
>       The deal is that I have a dPageFrameNoTabs where, based on stuff
> the user does, focus changes to a new panel.  The individual pages are
> dPanels.  The page-frame occupies the entire form, so the entirety of
> the interface the user sees is always a single panel of the form.  So is
> there a way to bind a KeyEvent in such a way that it is caught only when
> a certain panel is chosen?  Or would I have to bind it on the App and
> then manually check what panel is selected?
>
> Thanks,

What about changing the bound function (with self.Application.bindEvent) 
in the page change event to the appropriate one?

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to