1.

I Created A Sample Application With Some Controls But When I Reach The Last Control And Hit The Tab Key Again Focus Does Not Return To The First Control. What Is Wrong?

Answer»

Maybe you are USING the wxNotebook window. If you place a wxNotebook directly on a frame tab ORDER usually gets confused. Try placing a wxPanel on the wxFrame and put wxNotebook onto this PANEL. As a rule, simply do not place wxNotebook directly on a wxFrame (except the frame is a wxDialog?). If you use a

WxDialog, tabbing should work as expected. If you use a MDIChildFrame, you MUST create a Panel FIRST, and then put your controls on the Panel, not directly on the MDIChildFrame.

Maybe you are using the wxNotebook window. If you place a wxNotebook directly on a frame tab order usually gets confused. Try placing a wxPanel on the wxFrame and put wxNotebook onto this panel. As a rule, simply do not place wxNotebook directly on a wxFrame (except the frame is a wxDialog?). If you use a

WxDialog, tabbing should work as expected. If you use a MDIChildFrame, you must create a Panel first, and then put your controls on the Panel, not directly on the MDIChildFrame.



Discussion

No Comment Found