Q
QB
How can I get the name of the active page from my tab control (TabDepts)?
Thank you,
QB
Thank you,
QB
myTab.Value gives you the 0-based index.
myTab.Pages(myTab.Value).Name gives you the name of that tab.
Now I prefer to use the Caption property. It is easier than using
the Name property since it is readily visible in the form design
view while coding.
I've tried it all three ways (index, Name, and Caption) and
personally find referring to the caption easier.
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.