I am trying to make this work, but have a few weird things going on. I searched the archives but found no concrete solutions...
I have a wxNotebook inside a wxDialog. Each page of the notebook is comprised of wxPanels full of various controls. I have gotten my tab order to function properly (it seems) by adding the wxTAB_TRAVERSAL to my panel styles. The problems is, I can't navigate the tabs of the Notebook themselves. Is there any way to do this (i.e. allow the TAB key to give the notebook tabs focus so I can switch tabs with the keyboard)? Secondly - I cannot get the little dashed "has-focus" window to appear on any of my controls unless I press the Alt key, or open the dialog from the menu with the keyboard. Opening the dialog with the mouse causes this focus window to be invisible until I press the Alt key. Any ideas?
I am trying to make this work, but have a few weird things going on. I searched the archives but found no concrete solutions...
I have a wxNotebook inside a wxDialog. Each page of the notebook is comprised of wxPanels full of various controls. I have gotten my tab order to function properly (it seems) by adding the wxTAB_TRAVERSAL to my panel styles. The problems is, I can't navigate the tabs of the Notebook themselves. Is there any way to do this (i.e. allow the TAB key to give the notebook tabs focus so I can switch tabs with the keyboard)? Secondly - I cannot get the little dashed "has-focus" window to appear on any of my controls unless I press the Alt key, or open the dialog from the menu with the keyboard. Opening the dialog with the mouse causes this focus window to be invisible until I press the Alt key. Any ideas?
wxPython 2.4.1, win2K.
Thanks,
Ctrl + Tab moves left to right and Ctrl + Shift + Tab moves from right to left (both with wraparound) in my NoteBook screens. You can also move between tabs programmatically.
I am trying to make this work, but have a few weird things going on. I searched the archives but found no concrete solutions...
I have a wxNotebook inside a wxDialog. Each page of the notebook is comprised of wxPanels full of various controls. I have gotten my tab order to function properly (it seems) by adding the wxTAB_TRAVERSAL to my panel styles. The problems is, I can't navigate the tabs of the Notebook themselves. Is there any way to do this (i.e. allow the TAB key to give the notebook tabs focus so I can switch tabs with the keyboard)?
As Steve mentioned you can use Ctrl-Tab and Ctrl-Shift-Tab. Also, there has been a fix recently in 2.5 (I think it was checked in anyway, I havn't actually tested it) that allows the tabs themselves to get focus like on wxGTK.
Secondly - I cannot get the little dashed "has-focus" window to appear on any of my controls unless I press the Alt key, or open the dialog from the menu with the keyboard. Opening the dialog with the mouse causes this focus window to be invisible until I press the Alt key. Any ideas?
Check the "Hide keyboard navigation indicators" option in the Effects tab of the Display Settings control panel applet.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
On Mon, 20 Oct 2003 15:53:55 -0700, Steve Williams <stevewilliams@wwc.com> wrote:
Mark Melvin wrote:
Hi All,
I am trying to make this work, but have a few weird things going on. I searched the archives but found no concrete solutions...
I have a wxNotebook inside a wxDialog. Each page of the notebook is comprised of wxPanels full of various controls. I have gotten my tab order to function properly (it seems) by adding the wxTAB_TRAVERSAL to my panel styles. The problems is, I can't navigate the tabs of the Notebook themselves. Is there any way to do this (i.e. allow the TAB key to give the notebook tabs focus so I can switch tabs with the keyboard)? Secondly - I cannot get the little dashed "has-focus" window to appear on any of my controls unless I press the Alt key, or open the dialog from the menu with the keyboard. Opening the dialog with the mouse causes this focus window to be invisible until I press the Alt key. Any ideas?
wxPython 2.4.1, win2K.
Thanks,
Ctrl + Tab moves left to right and Ctrl + Shift + Tab moves from right to left (both with wraparound) in my NoteBook screens. You can also move between tabs programmatically.
I am trying to make this work, but have a few weird things going on. I searched the archives but found no concrete solutions...
I have a wxNotebook inside a wxDialog. Each page of the notebook is comprised of wxPanels full of various controls. I have gotten my tab order to function properly (it seems) by adding the wxTAB_TRAVERSAL to my panel styles. The problems is, I can't navigate the tabs of the Notebook themselves. Is there any way to do this (i.e. allow the TAB key to give the notebook tabs focus so I can switch tabs with the keyboard)?
As Steve mentioned you can use Ctrl-Tab and Ctrl-Shift-Tab. Also, there has been a fix recently in 2.5 (I think it was checked in anyway, I havn't actually tested it) that allows the tabs themselves to get focus like on wxGTK.
Thanks to both of you - this works fine.
Secondly - I cannot get the little dashed "has-focus" window to appear on any of my controls unless I press the Alt key, or open the dialog from the menu with the keyboard. Opening the dialog with the mouse causes this focus window to be invisible until I press the Alt key. Any ideas?
Check the "Hide keyboard navigation indicators" option in the Effects tab of the Display Settings control panel applet.
Just when you thought you knew everything about Windows... This works great - thanks a lot!
···
On Mon, 20 Oct 2003 17:54:46 -0700, Robin Dunn <robin@alldunn.com> wrote: