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 Control Page Click event not firing!

Status
Not open for further replies.

franklin1232

IS-IT--Management
Aug 29, 2001
207
US
I have a subform with a tab control and 3 pages. I am tring to run code that excecutes when a user clicks or activates certain pages. Problem is that the Page_Click event isn't working. I can use the TabControl_Change but then the code runs more than it needs too. I would like to avoid putting a case statement in the TabControl_Change to check the active page. If I do that what is the point of having a Click event for the Pages? I search KB at microsoft thinking this has got to be something simple, but didn't find anything. Any suggestions.

Thanks
 
Use the OnChange event rather than the OnClick event of the tab control.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top