Rick wrote:
Rick Brandt wrote:
Rick wrote:
Please Help.
I have a tab control with 4 tabs.
When a tab is selected, I want to "do stuff".
I thought to just do this:
Usint the tabControls OnChange event
If MyTabControl.Value = 0 then (the first tab is selected)
Do stuff...
End if
or use a select case 0 - 3 for each tab.
But the tabcontrol seems to ignore the OnChange Event.
This doesn't even doe anything
Private Sub MyTabControl_OnChange()
msgbox "hi"
end sub
????
any ideas.
Please can anyone help me.
Are you sure the OnChange property box has "[Event Procedure]"
entered?
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
That was it. OMG I can't believe it.
Over a decade with Access and I didn't even look back at that.
Thank You !!!
Rick
This can happen if you cut and paste controls, an easy way to re-connect
event procedures is go to the module, Press Ctrl+A then Ctrl+X then
Ctrl+V. That will re-connect them all (provided no names have changed in
the meantime).
--
This sig left intentionally blank