Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 27th, 2007, 12:00 PM
Registered User
 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default SSTab row position

When a sstab control is used with multiple rows showing and a user clicks on a tab in say the 2nd row. The control moves the 2nd row to the front and pushes the other rows back. This confuses some users and they would like the order to always remain the same. Is there anyway to do this?
 
Old March 27th, 2007, 12:33 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Well, of course you could create your own behavior by setting 2 different tab controls up against each other, and handle all the events yourself—(what a pain).

I think the control itself is just wired to be that way. The tabbed interfaces for properties in Word, et al., all behave this way.
 
Old March 28th, 2007, 12:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I agree with Brian, and in fact I hate all those controls.... it is really confusing! I never use the sstab, I roll my own using the standard TabStrip control (in Microsoft Windows Common Control 6). Of course there is more code to write, but at least we get exactly what you want (or I use a simple comboBox or a ListBox...)

"There are two ways to write error-free programs. Only the third one works."
Unknown
 
Old March 30th, 2007, 11:02 PM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

To my knowledge, it can't be done like that. Its the default behavior for the sstab control. To ease you work... now using tabs are bit old style..,, they put the tree control at the left and the array of the frame at right and onclick of the node that particular frame is shown... its a lot work, but output will have prof look and when you add icons to the tree.. it looks much better.

(this is just a thought) hope this helps...

With Regards,
Raghavendra Mudugal





Similar Threads
Thread Thread Starter Forum Replies Last Post
change position of New Record row? Kimber Access VBA 3 June 27th, 2008 07:10 AM
Identify physical position of row in gridview wirerider ASP.NET 2.0 Basics 13 October 31st, 2006 01:53 PM
Changing row position of gridview at runtime rameshsamiappan ASP.NET 2.0 Basics 0 September 25th, 2006 10:02 AM
SSTab JelfMaria VB How-To 2 May 9th, 2005 01:07 AM
Line/Row Position jmss66 Classic ASP Databases 7 July 28th, 2003 07:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.