Tab Controll switching

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

Guest

I have a for with a Tab Controll on it. The First tab is the main input and
the second is secondery and not always required.

Both Tabs look the same. How can I make the Tab automaticaly show the first
Tab when the user moves to another record?

I don't want them inputing data on the second tab for a record then moving
to another record and forgetting to switch back to the first tab.
 
Keith said:
I have a for with a Tab Controll on it. The First tab is the main input and
the second is secondery and not always required.

Both Tabs look the same. How can I make the Tab automaticaly show the
first
Tab when the user moves to another record?

I don't want them inputing data on the second tab for a record then moving
to another record and forgetting to switch back to the first tab.

Just off the top of my head, have you tried using "set focus" on, say,
MyTabControl(0)?

Regards,
Keith.
www.keithwilby.com
 
Since posting the question I have managed to solve the problem. In the On
Current property of the form I set focus to the page name. In this case
me.page33.setfocus

It works a treat. Thanks for taking the time to offer your help. I would
have removed the posting but there dosn't seem to be a way to do it.

Thanks agian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top