>
>
>    
> I put my dComboBox on dPanel and still have no tabbed navigation.
> Navigation stops on dComboBox control.
> What I'm doing wrong? Here is my code:
> <code>
> import dabo
> dabo.ui.loadUI("wx")
> import dabo.ui.uiwx.test as test
>
> if __name__ == "__main__":
>
>       class TestForm(dabo.ui.dForm):
>           def afterInit(self):
>               self.Caption = "dComboBox test"
>               panel = dabo.ui.dPanel(self)
>               sz = panel.Sizer = dabo.ui.dSizer("vertical")
>               sz.append(dabo.ui.dTextBox(panel))
>               sz.append(dabo.ui.dTextBox(panel))
>               sz.append(dabo.ui.dComboBox(panel))
>               sz.append(dabo.ui.dTextBox(panel))
>               sz.append(dabo.ui.dComboBox(panel))
>               self.Sizer.append1x(panel)
>
>       test.Test().runTest(TestForm)
> </code>
>
>    


OK. I create custom class with added TAB key handling:

class mcb(dabo.ui.dComboBox):

     def onKeyDown(self, evt):
         if evt.EventData["keyCode"] == 9:
             evt.stop()
             self.Navigate(not evt.EventData["shiftDown"])

Althoutgh there is a beep sound, navigation works.

-- 
Regards
Jacek Kałucki

_______________________________________________
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