Consult TabControl TabPage Click event in the control is how to judge?
Private Sub TabPage3_Click (sender As Object, As EventArgs e) Handles TabPage3. Click
MsgBox (" Tabpage3. Selected ")
End Sub
Click the TabPage3 TAB without any reaction,
I want to perform when TabPage3 TAB to activate a code, how to judge?
Don't want to use the TabControl SelectedIndexChanged
Have a TAB to activate event probably tabpage1. Active this meaning, write each TAB to activate the code event,
CodePudding user response:
TabPage seemed to have the Loaded event
CodePudding user response: