Navigating a tabbed form

G

Guest

In Access 2002, I have a form with multiple tabs. When the user clicks the
tab's label, I want an event to fire. Unfortunately, the tab's OnClick event
only fires when the BODY of the tabbed page is clicked. How can I make
something happen when the tab's title is clicked, as that tab becomes the
"top" tab?

Thanks!
 
J

John Vinson

In Access 2002, I have a form with multiple tabs. When the user clicks the
tab's label, I want an event to fire. Unfortunately, the tab's OnClick event
only fires when the BODY of the tabbed page is clicked. How can I make
something happen when the tab's title is clicked, as that tab becomes the
"top" tab?

Use the tab control's Change event - the Click event is pretty much
useless, it responds when you click on the *face of* the tab control,
away from any control on it.

John W. Vinson[MVP]
 
G

Guest

Thank you! That was exactly what I needed.


John Vinson said:
Use the tab control's Change event - the Click event is pretty much
useless, it responds when you click on the *face of* the tab control,
away from any control on it.

John W. Vinson[MVP]
 

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

Top