On Thursday, February 10, 2011 08:31:03 am Ricardo Aráoz wrote:
> Hi,
>      checking on http://wiki.dabodev.com/HowToUseMultipleToolbars example.
> Tried to run it and both buttons ('Toggle Panel 1' and 'Toggle Panel 2
> ') work as expected, but neither panel will get focus, if I click on any
> of the panel's controls nothing happens, and tabbing only cycles between
> both buttons.
On Linux I can not confirm.  When both panels are displayed I'm able to click 
into either of the panels and focus is correct.
> 
> Tried  panel1.SetFocus() in panel1Toggle() and it sets focus on the
> panel's textBox, if I tab focus will go to the panel's button, but
> clicking on either control will set the focus to the main panel's
> buttons (that is 'Toggle Panel 1').
Once a panel has focus the tab key will only work within the panel. IOW using 
the tab key will only cycle between the controls on the panel. 
> 
> Couldn't figure what's going on here.
> Any ideas?
> 
> Thanks.
> 
> 
> Platform: Win
> Python Version: 2.6.6 on win32
> Dabo Version: Version 0.9.3; Revision ~6238
> UI Version: 2.8.11.0 on wxMSW

 I have not used multi-toolbars in my programs. But it would seems that the 
use of the mouse is required to set focus between the panels.  I wonder if 
there is a way to have the tab cause focus to move from one panel to the 
other?  I was able to set focus via the dShell so I think it's likely it can 
be done.

Johnf


_______________________________________________
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