Finding the order of tabs

Topics: User Forum
Jun 18, 2008 at 9:18 PM
Edited Jun 18, 2008 at 9:18 PM
This is a really great control. It has been very easy to set it up and get it working in my program, but I am having one problem. I can't seem to find a way to get the tab order. Calling GetAllWindows() returns the windows in the order that they were created, but I would like to be able to find out if the user has reordered the tabs. Is there a way to do this?

Thanks
Coordinator
Jul 1, 2008 at 12:21 AM


aalex675 wrote:
This is a really great control. It has been very easy to set it up and get it working in my program, but I am having one problem. I can't seem to find a way to get the tab order. Calling GetAllWindows() returns the windows in the order that they were created, but I would like to be able to find out if the user has reordered the tabs. Is there a way to do this?

Thanks



aalex, I have not taken a look at the code in a while, but I believe if you dive into the TabStrips property of a panel, you can get the order of the windows in the tabstrip. Each panel creates additional tabstrips (how it achieves tiling horizontal).