Setting the Tab index

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

Guest

I have a subform on which I'm trying to set the tab index so that the cursor
will move neatly and consistently in case the user wants to use the keyboard
instead of the mouse. There are many check boxes, text boxes, and combo
boxes on the form and everything goes well until I've set the index on about
10 controls. Then they start resetting themselves or changing to some random
number. Strangest thing I've ever seen. Does anyone know why this might be
happening?

Thanks in advance,
 
Glenn said:
I have a subform on which I'm trying to set the tab index so that the
cursor will move neatly and consistently in case the user wants to
use the keyboard instead of the mouse. There are many check boxes,
text boxes, and combo boxes on the form and everything goes well
until I've set the index on about 10 controls. Then they start
resetting themselves or changing to some random number. Strangest
thing I've ever seen. Does anyone know why this might be happening?

Thanks in advance,

Don't try to set the TabIndex manually as it has the problem you are seeing. If
you right-click on the gray square in the upper left of the form you will see a
menu with Tab Order as one of the choces. Using that will allow you to set the
order by dragging and dropping in a list.
 
Thanks Rick. It worked fine but in order to tell what you're dragging and
dropping, the names of the controls (there are very many) have to be set or
else you won't know what control you're placing where. (Drag Text43 to
position 7?) Naming controls is something I ordinarily do anyway in the
interest of good programming practice, but in this case, there were so many
controls, that I took a shortcut and didn't name them because of "user
deadlines". But thanks for the advice. Works like a charm.
 
Back
Top