moving to control box based on tab index number

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

Guest

Does anyone know of coding you can use to tell the cursor to move to a control box (text box) of a particular tab index number. For example, if I have four control boxes and I am at the 3rd one with tab index #2, I want the cursor to move to the second one, with tab index #1

Any help anyone could give me on this matter would be much appreciated

Thanks
Jason
 
Jason,

You can just do a SetFocus to whatever the name of that
control is and it will switch tabs automatically for you.

--

Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
jtd135 said:
Does anyone know of coding you can use to tell the cursor
to move to a control box (text box) of a particular tab
index number. For example, if I have four control boxes and
I am at the 3rd one with tab index #2, I want the cursor to
move to the second one, with tab index #1.
 
Back
Top