Page 1 of 1

Notebook Tab

Posted: Wed Jun 06, 2012 12:01 pm
by rafae11
I have used a program and i used wxNotebook.
I want to switch between the two wxPanels Configurations and Calibrations using tabs
I can switch between tabs with mouse click.
Is it possible to switch using tabs?
tabs.png
tabs.png (7.24 KiB) Viewed 1089 times

Re: Notebook Tab

Posted: Wed Jun 06, 2012 12:43 pm
by tuli
you mean, via the tab key...?

Re: Notebook Tab

Posted: Wed Jun 06, 2012 12:48 pm
by rafae11
yes is it possible to switch between tabs using tab key.

Re: Notebook Tab

Posted: Wed Jun 06, 2012 4:23 pm
by Auria
Only when tabbing on the notebook control itself, or when pressing tab anywhere?

If only when the notebook control has focus, you may be able to catch focus events and switch the tab when a tab gains focus (didn't try though)

otherwise there is always http://wiki.wxwidgets.org/Catching_key_events_globally