View Full Version : tab paging issue


tomro1
06-01-2008, 09:38 AM
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.

tomro1
06-01-2008, 09:59 AM
never mind :D.. I got it with the .value of the tabcontrol..

boblarson
06-01-2008, 02:39 PM
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).N ame