Referencing Information on Page of a Tab Control

  • Thread starter Thread starter tarpon_zeke
  • Start date Start date
T

tarpon_zeke

How do I reference the caption or name of a particular
page on a tab control on a form. I have a tab control and
based on certain things, certain pages are visible and
certain pages are not so the value property doesn't do me
any good to tell me which page I am on.

I have to make something happened based that I am on a
certain page of the tab control but based on other factors
the 2nd tab might be actually different pages of the tab
control.

If I could reference the pages name that is visible or
something, I could do what I need to do.

Thanks for your help.

PZ
 
Even if some pages are not visible, you can still test the Value of the tab
control against the PageIndex of the page, e.g.:
If Me.[tab1].Value = Me.[pge3].PageIndex Then
 
Back
Top