svemir
asked on
How to sort VB .NET Tab Pages?
Dear expert,
I sort TabPages in Tab Control at design time but they do not appear in the same way at run time. What should I do.
Tnaks, Svemir.
I sort TabPages in Tab Control at design time but they do not appear in the same way at run time. What should I do.
Tnaks, Svemir.
ASKER
Could you please explain this little bit more because first I already check!
"If they do (and this is strange but it seems to work) make sure the that the tab pages are "added" to the
Tab Control in the order of index."
"If they do (and this is strange but it seems to work) make sure the that the tab pages are "added" to the
Tab Control in the order of index."
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I fix it by changing order in which controlos are added.
Thanks you gdexter!
Thanks you gdexter!
Go into the Code for the form and look in the "Windows Form Designer generated code" region
and locates the codes that adds the tab pages to the tab ctrl
ensure that the indexes for the tab pages reflect the designers index.
If they do not adjust accordingly
If they do (and this is strange but it seems to work) make sure the that the tab pages are added to the
Tab Control in the order of index.