What's the meaning of wxTAB_TRAVERSAL ? Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
manianis
Experienced Solver
Experienced Solver
Posts: 72
Joined: Mon Jan 15, 2007 11:00 am

What's the meaning of wxTAB_TRAVERSAL ?

Post by manianis »

What's the meaning of wxTAB_TRAVERSAL ?
phlox81
wxWorld Domination!
wxWorld Domination!
Posts: 1387
Joined: Thu Aug 18, 2005 7:49 pm
Location: Germany
Contact:

Post by phlox81 »

wxTAB_TRAVERSAL Use this to enable tab traversal for non-dialog windows.
This enables you f.e. to use in a panel the tabkey for jumping to the next control.
manianis
Experienced Solver
Experienced Solver
Posts: 72
Joined: Mon Jan 15, 2007 11:00 am

Post by manianis »

Does it grab the RETURN Key ? I means supposing that I've

panel1 within panel2 within a frame. When I click the TAB or the RETURN key does the wxKeyEvent propagate to the frame or is grabbed ?
manianis
Experienced Solver
Experienced Solver
Posts: 72
Joined: Mon Jan 15, 2007 11:00 am

Finally I found the problem

Post by manianis »

The Key Events propagates from the MainFrame Window to it's childs. The problem I've had is been fixed by removing the wxTAB_TRAVERSAL from the MainFrame Window and setting the wxWANTS_CHARS in the wxPanels I'm using to let the laying controls knows about the user KeyPresses.
Post Reply