TonyScarpelli
Programmer
I have a form with a number of tab pages on it.
When I click on a particular tab, I want the for form's title to change.
I have the following code to test the idea, but it doesn't work. When I click on a tab the the following code doesn't run.
Private Sub TabControl_Click(ByVal sender As Object, _
ByVal e As System.EventArgs)
MsgBox(TabControl.SelectedTab.Name.ToString)
End Sub
Can some give me a clue as to why this code isn't running?
Thanks.
Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102
When I click on a particular tab, I want the for form's title to change.
I have the following code to test the idea, but it doesn't work. When I click on a tab the the following code doesn't run.
Private Sub TabControl_Click(ByVal sender As Object, _
ByVal e As System.EventArgs)
MsgBox(TabControl.SelectedTab.Name.ToString)
End Sub
Can some give me a clue as to why this code isn't running?
Thanks.
Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102