f



TAB to navigate in tab order

Hi,

in wxWindows looks like pressing the Tab key on the last widget in tab 
order does not switch the focus to the first widget in tab order. Example:

Tab order is
	- widget1
	- widget2
	- widget3
When widget3 has the focus, pressing Tab doesn't move the focus to widget1.

How could this be done, however?

Regards,

Cristina. 


---------------------------------------------------------------------
Please read http://www.wxwindows.org/mlhowto.htm before posting.

To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wx-users-help@lists.wxwindows.org

0
cai
11/20/2003 7:40:40 PM
comp.soft-sys.wxwindows 21076 articles. 0 followers. Post Follow

1 Replies
396 Views

Similar Articles

[PageSpeed] 49

C. Iacob wrote:

> Hi,
> 
> in wxWindows looks like pressing the Tab key on the last widget in tab 
> order does not switch the focus to the first widget in tab order. Example:
> 
> Tab order is
>     - widget1
>     - widget2
>     - widget3
> When widget3 has the focus, pressing Tab doesn't move the focus to widget1.
> 
> How could this be done, however?
> 
> Regards,
> 
> Cristina.
> 
> ---------------------------------------------------------------------
> Please read http://www.wxwindows.org/mlhowto.htm before posting.
> 
> To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwindows.org
> For additional commands, e-mail: wx-users-help@lists.wxwindows.org
> 

Use a wxFrame with a wxPanel with the widgets
or
use wxDialog with the widgets. Be sure to use showmodal with the dialog.

This works for me.

Two caveats.
1. If you are a dll(w/o a msg pump(no mainloop call) ) it may not work 
correctly.
2. If you have a grid back tab will not work in the grid to go back a 
previous cell




---------------------------------------------------------------------
Please read http://www.wxwindows.org/mlhowto.htm before posting.

To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wx-users-help@lists.wxwindows.org

0
rdavis
11/20/2003 10:12:52 PM
Reply: