Can I specify the order...

  • Thread starter Thread starter JohnP
  • Start date Start date
J

JohnP

in which data is entered into a form? I want the user to move from field to
field by using the Tab or Enter.
 
hi
on the property sheet of each control you have on your form should be 2
properties you are interested in. TabIndex and TabStop.
for each control you wish to tab to, set the TabStop to true. if you want to
skip that control, set the TabStop to false.
for the first control you wish to start in, set the TabIndex to 0. for the
next control you wish to tab to, set the TabIndex to 1, set the next
control's Tabindex to 2 and so on untill you have all the control in the
order you wish to tab through.

the TabIndex and TabStop properties are controled by the tab key but not the
enter key.

Regards
FSt1
 

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