Hi guys,
I have a ComboBox in my program with this code:
It calls another form with tabcontrol .
How can I make with my SelectedIndex = 1 from my tabcontrol - the 2 other tabIndex to be disabled
thanks
I have a ComboBox in my program with this code:
Code:
If ComboBox2.SelectedItem IsNot Nothing Then
Dim ans1 As Double
ans1 = ComboBox2.SelectedIndex
Select Case ans1
Case -1
MessageBox.Show("צורת הגג")
Case 0
Label19.Text = ComboBox2.SelectedItem
GRAPH.TabControl1.SelectedIndex = 0
GRAPH.Show()
Case 1
Label19.Text = ComboBox2.SelectedItem
GRAPH.TabControl1.SelectedIndex = 1
GRAPH.Show()
Case 2
Label19.Text = ComboBox2.SelectedItem
GRAPH.TabControl1.SelectedIndex = 2
GRAPH.Show()
Case 3
Label19.Text = ComboBox2.SelectedItem
End Select
End IfHow can I make with my SelectedIndex = 1 from my tabcontrol - the 2 other tabIndex to be disabled
thanks