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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top