Tabcontrol - Cancel Tab Changed event
Posted on 2004-09-07
Having real problems with this issue. Thanks for clicking
Have a TabControl. When on the first tab, want to check that a ComboBox has a value in before allowing the user to change the TabPage.
Best way to do this would be to cancel the event if ComboBox="" otherwise prgress as normal.
Problem is I'm using the Private Sub _Tabcontrol_TabPage0_Validating event, so that can e.Cancel =True if the ComboBox =""
Problem is this validating event is not firing when the tab is changed.
Have seen a couple of posts on google search saying the same thing.
Can anyone possibly enlighten me to a fix or "get around"???