Help with "Tab Control" events

B

BRC

Hi
I have a form with a tab control. I was trying to make something happen
when user changed tabs. I see the tab control Pages have "events"
associated with them (like click, mousedown etc) but I can't seem to get
them to fire.
For instance: In the "click" event for Page 2 I put Msgbox("Hello") . One
would think clicking on the Page 2 tab would display the Msgbox but it
doesn't. Anyone know why? THanks
BRC
 
O

Ofer Cohen

Try and use the OnChange event of the Tab Control, in it create a select for
each page value

Select Case Me.TabCtlName
case 0
 

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