Referencing Information on Page of a Tab Control

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
 
A

Allen Browne

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
 

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