Can I specify the order...

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.
 
F

FSt1

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
 
Top