tab paging issue

tomro1

Registered User.
Local time
Today, 22:47
Joined
Jun 12, 2006
Messages
23
hi all,

I have a tab control with 3 tab pages and a text box outside the tab screen.

now when i click on one, i want to get the name of the page that is visible into the text box, but i don't know where i can find wich one is visible.

if you know how to trigger this stupid thing plz tell me.
 
never mind :D.. I got it with the .value of the tabcontrol..
 
And if you want the actual name of the page, instead of the value (index) you can get it with:

Me.YourTextBox = Me.YourTabControl.Pages(Me.YourTabControl.Value).Name
 

Users who are viewing this thread

Back
Top Bottom