Tab order
-
Hi all, I want some help in setting the tab order for controls in a dialog. The scenario is like in the main dialog i have a tab control and 4 buttons. In the tab control i have added dialogs. When the main dialog is opened the focus should be on the tab control. Next it should go to the other buttons. I have given the tab order normally giving one for the tab control. But the when i open the dialog the focus is not the tab control it is on the next button i.e the one which is set to 2.. Can u please suggest me... Thank U
-
Hi all, I want some help in setting the tab order for controls in a dialog. The scenario is like in the main dialog i have a tab control and 4 buttons. In the tab control i have added dialogs. When the main dialog is opened the focus should be on the tab control. Next it should go to the other buttons. I have given the tab order normally giving one for the tab control. But the when i open the dialog the focus is not the tab control it is on the next button i.e the one which is set to 2.. Can u please suggest me... Thank U
In the Dialog-Editor, press CTRL-D and then click the control in the order you want them to be tab-ordered. The Menu-entry in the dialog-editor is Format/Tab Order Both is for VC2003 and VC6. I dont know if they have changed it in VC2005.
Failure is not an option - it's built right in.
-
In the Dialog-Editor, press CTRL-D and then click the control in the order you want them to be tab-ordered. The Menu-entry in the dialog-editor is Format/Tab Order Both is for VC2003 and VC6. I dont know if they have changed it in VC2005.
Failure is not an option - it's built right in.
Ya, I have given in the same way.Here it has to switch between 2 dialogs. i.e the dialog in the tab control and the main dialog in which the tab control is present. The focus not going onto the tab control..
-
Ya, I have given in the same way.Here it has to switch between 2 dialogs. i.e the dialog in the tab control and the main dialog in which the tab control is present. The focus not going onto the tab control..
The tab control needs the Tabstop style on it, and then you will be able to focus and navigate the tabs using the keyboard. Note that, IMHO, this is rather non-standard GUI behavior, and some users may not expect focus to remain on the tab control. Peace!
-=- James
Please rate this message - let me know if I helped or not! * * *
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles