Tab Control Event

G

Gary S

Hi,

I am using tabs on form and I want an event to fire
when the tab is clicked. I tried the events for the tab
but they do not fire the event. How do I get this
to work?
 
G

Gary S

Thanks Graham,

You got me going down the right path:

Private Sub TabCtl91_Change()
MsgBox "The tab has been clicked " & Me.TabCtl91.Value
End Sub

If I use your advice plus the Me.TabCtl91.Value, I have
what I need to accomplish what I need.
--
Thanks!
Gary S


Graham Mandeno said:
Hi Gary

Use the Change event for the tab control (not the individual tabs).
 

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