Your question has nothing to do with th eTreeView control but in any
case... you have to loop thru tab pages and compare Tag property with
the one you know.
VB.Net changes the order of Tab Pages. I loop through each page and compare
the Tag. When the Tag matches, I need to return the index of that TabPage but
I don't know how to return the index of it.
As a matter of interest, why are you using the Tag property to Identify the
tabpage?
If it's just because the tabs have been shuffled about then you may like to
try my new TabPageSorter component which will rearrange the tabs in any
order you want. It is brand new this week so it may have some cool features
that I haven't discovered yet (AKA bugs) but it should be safe to use ;-) http://www.dotnetrix.co.uk/controls.html
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.