I'm using a dPageFrameNoTabs and I programmatically switch from one
tab to another. I encountered some strange behavior that took a while
to figure out. Basically, when you set a new dPage for the page frame,
it doesn't defocus controls that were focused on the old page. The
result is that these controls can still receive keyboard input, even
though they're invisible. What I was finding was that pressing spacebar
or enter caused odd effects, and eventually I realized it was activating
a button on the previously-shown (but now invisible) page.
It seems like this would ideally be handled by the framework. I'm
not sure what the ideal behavior is, but would it be possible to check,
when setting a new page, whether a control on the old page has focus,
and if so, set focus to the new page?
--
--OKB (not okblacke)
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
_______________________________________________
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]