Find controls in a tab control with highest and lowest tab index numbers

  • Thread starter Thread starter Colin Graham
  • Start date Start date
C

Colin Graham

Hi all,

Basically ive built a vb .net app using a tab control for displaying
and entering data. I originally hard coded this with the names of the
various fields to have focus when i moved between tabpages. I feel i
should be able to do this in code by obtaining the highest or lowest
tabindex from each tabpage and somehow setting focus on that field.

If anyone has any helpful ideas or has a work around for this issue i
would be very interested.

Many thanks

CG
 
Back
Top