Code to Tab through fields in application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,

"Rookie" Jeff here, systems admin (not a C++ programmer). I'm going through
our application for whom we've lost our main programmer for and I was trying
to locate the code for tabbing through fields on a form. I have a problem
where the Tab moves to a field that is PAST the next field, so it is skipping
over one. I wanted to try and fix that and make it move in order, if anyone
could help me locate the code. I'm usually able to figure out simple things
like this, but I am stuck right now. Any help would be greatly appreciated.

Note, I'm using VS 6, sp5.
 
Jeff said:
Hello all,

"Rookie" Jeff here, systems admin (not a C++ programmer). I'm going through
our application for whom we've lost our main programmer for and I was trying
to locate the code for tabbing through fields on a form. I have a problem
where the Tab moves to a field that is PAST the next field, so it is skipping
over one. I wanted to try and fix that and make it move in order, if anyone
could help me locate the code. I'm usually able to figure out simple things
like this, but I am stuck right now. Any help would be greatly appreciated.

Note, I'm using VS 6, sp5.

Assuming you're not doing anything funny, controls you want to tab to should
have the WS_TABSTOP style (Control Properties/General/Tab stop). If you
eventually can tab to that control, but it just doesn't proceed in the order
you want, select the dialog, then look under the Layout menu for "Tab
Order".
 
Thanks Doug, that did the trick! I didn't know about the Tab-Order option.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top