Tab

Hi there

How to make tab button move the focus to next widget?

Thanks
Hendra

Hi,
A little question
I make my form without a panel
I simply put everything on a frame
is that why my tab does not working?

hendra kusuma wrote:

A little question
I make my form without a panel
I simply put everything on a frame
is that why my tab does not working?

Yes. A Panel is part of what makes tabbing work.

a

On Wed, Apr 8, 2009 at 3:09 PM, Alex F. [email protected] wrote:

hendra kusuma wrote:

A little question
I make my form without a panel
I simply put everything on a frame
is that why my tab does not working?

Yes. A Panel is part of what makes tabbing work.

OK, guess I have to change my frame to panel then
Thank you

Hello Hendra,

Unless your attempting to intercept the TAB Key event, it should all be
internally handled by both wxWidgets, and the actual GUI Kit that
wxWidgets
utilizes to create the contols on the specific Operating System.

Some controls, such as a TextCtrl, with TE_MULTILINE, will eat the TAB
key
event, in which case, you need to monitor the Key events on that
specific
control, to intercept the tab key, and decide how you want to handle it.
Review the documentation on KeyEvent, to see a few details on it, and
take a
look at the example for Caret, as it intercepts key events to do the
drawing
handling on the Panel.

hth
Mario

2009/4/2 hendra kusuma [email protected]