Search code examples
c++visual-studio-2017dialogresource-editor

Does VS2017 allow to change tab order of controls in a visual dialog editor for C++ project?


Say, if I have some dialog box opened in Visual Studio 2017 in the visual editor:

enter image description here

If I want to rearrange the tab order of these controls, the method I was using was to open the .rc file in a text editor and rearrange control definitions there:

enter image description here

So now I'm wondering if there's a way to do this via visual editor?

PS. I found that the "Layout" toolbar has the "Tab order" button:

enter image description here

but it's always grayed out.


Solution

  • You want "Tab Order" on the "Format" menu (possibly has a Ctrl-D shortcut). Then just click the controls in the tab order you want.