Tab traversal in book controls (widgets and notebook sample)

ABX abx at abx.art.pl
Mon Jul 17 00:18:34 PDT 2006


Hi!

I noticed strange inconsistency in tabbing using book controls in MSW (XP).

First, in widgets sample do as follow:

1. launch sample
2. click on first 'Button' item in tree controler.
3. TAB to move focus in forward order - 'Bitmap button' checkbox selected.
4. SHIFT-TAB to move focus back - 'Exit' button gets selection
5. TAB to move focus in forward order - tree controller gets selection.

Repeat 3-5 endless and in forward order tabbing tree gets selection, while in
backward tabbing never. Ideas?

To verify this I launched notebook samples. I tested, wxChoicebook,
wxListbook, wxNotebook and wxTreebook. Only wxNotebook worked as expected. The
rest put their controllers in tab order before log window. But doing selection
somehere in page also leads tabbing into log window so there is no way to move
with tabbing from page content to book controller. Ideas?

Also in notebook sample the selection border in wxNotebook controller is not
drawn until I will not do first TAB and then SHIFT-TAB. Is it expected?

Are other platforms fine?

ABX




More information about the wx-dev mailing list