I have a tab control and I am trying to get it to return a certain value each time a tab it clicked.
I have put a simple piece of code in the tab click event which doesn't run at all.
Really I'd just like to grab the index number of the tab, but I'll be satisfied if I can get this to work. I haven't worked a lot with tab controls so maybe I a missing something obvious.Code:Private Sub Verify_Click() X = 0 MsgBox x End Sub
Please enlighten me.
Paul