Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab order on form containing a TabControl

Status
Not open for further replies.

JaneC

Programmer
Jul 18, 2001
125
GB
I have a form with some controls at the top and then a Tab Control. When the last control before the tab control is exited (lost focus?) I want it to go to the first control on the Tab Control.

I have tried the Lost Focus event for the control (patname), setting the focus to the first field on the tab (patid). This works fine , well almost !! Except if patname has the focus and the user clicks on another control - move next record, for example - then the focus moves to patid and not the one the user has selected.

I'm thinking that I'll have to redesign the form - unless anyone has a way around this ?

Thanks in advance for any help.

Jane
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top