determing which page of tab control is 'on'

A

alekm

Hi,
what's the way to determine, using code, if the specific page of tab control
is selected (not necessairly in focus).
Thanx

alek_mil
 
B

Baz

The tab control's value is the page number. For instance, if you have a tab
control tabControl, then this sort of thing is possible:

Select Case tabControl
Case 1
'1st page
Case 2
'2nd page
End Select
 
R

Rick Brandt

Baz said:
The tab control's value is the page number. For instance, if you have a tab
control tabControl, then this sort of thing is possible:

Select Case tabControl
Case 1
'1st page
Case 2
'2nd page
End Select

Correct except that the first page index value will be zero, not one.
 
Top