Keyboard navigation with ListBook

Hi all,
I'm trying to use a ListBook control but it seems to me that there are some problems in navigating such a control with the keyboard. In a dialog with a ListBook and two buttons (Ok and Cancel) using the TAB I can only move between this three controls and have no access to controls on ListBook pages or I cannot move into the list i.e change the active page. If, when the focus is on the ListBook, I press down arrow I move to the button and not to the next element in the list.
Setting the WANTS_CHARS flag to the ListBook the things are not better since pressing the TAB I can neither move inside the ListBook nor go out of the ListBook.

I noticed the same problems with other similar controls using the demos provided with wx. So I guess this is not a solvable problem myself I ask if someone had the same problem and solved them or have ideas.

Thanks,
Enrico

···

from my side. But before starting to design a ListBook in Python by

Hi Enrico,

I'm trying to use a ListBook control but it seems to me that there
are some problems in navigating such a control with the keyboard. In
a dialog with a ListBook and two buttons (Ok and Cancel) using the
TAB I can only move between this three controls and have no access to
controls on ListBook pages or I cannot move into the list i.e change
the active page. If, when the focus is on the ListBook, I press down
arrow I move to the button and not to the next element in the list.
Setting the WANTS_CHARS flag to the ListBook the things are not
better since pressing the TAB I can neither move inside the ListBook
nor go out of the ListBook.

I noticed the same problems with other similar controls using the
demos provided with wx. So I guess this is not a solvable problem
from my side. But before starting to design a ListBook in Python by
myself I ask if someone had the same problem and solved them or have ideas.

Usually, the best thing you can do is to create a small runnable
sample app, so that we can test and locate the problem, and
(hopefully) provide a workaround. A Wiki page:

http://wiki.wxpython.org/MakingSampleApps

Explains how to do it. Otherwise, it's extremely hard to guess where
the problem might be...

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

···

On 7/5/07, ricercar@infinito.it wrote: