Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refer to page name of TabControl

Status
Not open for further replies.

Moss100

Technical User
Aug 10, 2004
586
GB
Hi there,

I am trying to fire an event when a tab control page is selected.

I have managed to do this by referencing the tab control value -

ie. my tabcontrol is called TABFORM

Tabform.value=3 attached to the onchange event works fine.

This however references the tab value rather than the tab page name.

I would be happier to use the tab page name as it is less likely to be changed. Changing the tab page order would cause the eveent to be fired on a differnet page currently.

Thanks for any help you can give me on this.

Regards Mark
 
What about Tabform.Pages(Tabform.Value).Name ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top