Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change position of tab in SSTAB 1

Status
Not open for further replies.

sal21

Programmer
Apr 26, 2004
425
IT
Possible via IDE or with code to change the position of tab 5 with position of tab 0?
 
SSTab is a pretty old control, and doesn't directly support such functionality.

However the way it is implemented (thanks to its age) actually gives you a way to achieve this. All you need to know is that the SSTab has only one container. It handles multiple tabs by moving controls on and off the screen. And it does this by adding/subtracting 75000 to the Left property for each and every control on the tab.

So all you need to do is modify the Left property yourself. And you can make this easier on yourself by putting all the controls in a frame, then you just have to modify the Left property of the Frame.

But I illustrated this for you ((the basic concept, that is) in your thread222-1802712
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top