tab "on-click" event

S

smk23

Is there any way to run code when the user selects a tab? So far I get no
response from code on the "on click" event of the tab heading nor the "on
activate" event of the subform on the tab.

Thanks,
Sam
 
M

Marshall Barton

smk23 said:
Is there any way to run code when the user selects a tab? So far I get no
response from code on the "on click" event of the tab heading nor the "on
activate" event of the subform on the tab.


Use the Change event.
 
S

Stuart McCall

smk23 said:
Is there any way to run code when the user selects a tab? So far I get no
response from code on the "on click" event of the tab heading nor the "on
activate" event of the subform on the tab.

Thanks,
Sam

The event you need is the tab control's OnChange event.
 

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