Order of tabs in a dialog box

I am using an older version of Visual Studio which only provides an "interactive" method for setting tabs. Is there a way to clear all tab stops before setting them? Or, anyway, exclude the given control due to the presence of tabs?

Added 10-segment-2009 Part of my problem was confusing the tab stop and tab stop order. I naively thought that setting a tab stop, setting a tab stop, is therefore a lot of confusion. Thanks for pointing out that the tabs are set in the properties window.

+2


source to share


2 answers


You are not aware of your specific VS version, but as far as I remember (back to VC6) you automatically assign the tab order if you just click once on each control in the order you want. They usually don't need to reset them.

This tip from the VC6 tutorial might be helpful:



To customize the tab order of the controls, you can choose the Tab Order command from the Layout menu and click the controls in the order you want them to be nested in your bookmarks. If you have a complex dialog box and only want to reorder the tabs of multiple controls, you can shortcut by holding down the Ctrl key and selecting the last control to bookmark before selecting it incorrectly controls that tab. Clicking on an empty space in the dialog box, or press Enter, exit the tab order mode.

To prevent control by pressing the Tab key, clear the Stop / Stop check box on the control's property sheet.

If you want to programmatically change the behavior of tabs, look for the Windows style WS_TABSTOP .

+5


source


Open the dialog box whose address you want to change. Press Ctrl + D. In the dialog box, you will see numbers next to each control that indicate the tab order for that control. Click the controls in the order you want the order of the tabs to go.



+2


source







All Articles