Notebook Tab 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
rafae11
Experienced Solver
Experienced Solver
Posts: 85
Joined: Sat Jun 02, 2012 8:41 am

Notebook Tab

Post 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 1672 times
tuli
Knows some wx things
Knows some wx things
Posts: 42
Joined: Sat Dec 03, 2011 3:56 pm

Re: Notebook Tab

Post by tuli »

you mean, via the tab key...?
rafae11
Experienced Solver
Experienced Solver
Posts: 85
Joined: Sat Jun 02, 2012 8:41 am

Re: Notebook Tab

Post by rafae11 »

yes is it possible to switch between tabs using tab key.
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Re: Notebook Tab

Post 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
"Keyboard not detected. Press F1 to continue"
-- Windows
Post Reply