469,267 Members | 1,029 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,267 developers. It's quick & easy.

TabControl TabPage Order at Runtime

Hi All,

How do you set the order of TabPages in a TabControl?

I set them in the properties of the control "TabPage Collection Editor", but when it comes to run time the order changes again!

Many thanks for you answers,

Ben
Nov 18 '08 #1
2 3978
Plater
7,872 Expert 4TB
At design time, using the gui popup for the tabpages collection on a tabcontrol determines the runtime order.
They appear in the order they are listed in that popup.
You can move them around by .Remove() and .Insert() functions
Nov 18 '08 #2
Thanks Plater,

I've tried changing them around using the popup, and sometimes it works, sometimes it doesn't. I'm guessing I must be doing something else to them afterwards that makes the change happen again....

Will look into using those commands.

Cheers,

Ben
Nov 18 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Tamir Khason | last post: by
3 posts views Thread by VJ | last post: by
9 posts views Thread by Michael Turner | last post: by
2 posts views Thread by Rex the Strange | last post: by
reply views Thread by qinger | last post: by
reply views Thread by =?Utf-8?B?TWFydGluIw==?= | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.