|
-
Aug 24th, 2001, 10:52 AM
#1
Thread Starter
Frenzied Member
SStab VS TabStrip
I know the SStab control is atleast 10X as easy to use than the Tabstrip control....but the Tabstrip must have some advantage? After all, they do include it in VB I realize that no one ever uses it but if someone has, can u please tell me why? Does it have ANY advantages whatsoever? Just wondering...
You just proved that sig advertisements work.
-
Aug 24th, 2001, 10:53 AM
#2
Member
It's probably lighter-weight for distribution. But it sucks so much that the SSTab is worth whatever size it adds.
-
Aug 24th, 2001, 10:56 AM
#3
Lively Member
Yes tabstrip is truely pants.
Its probably only included for backward compatibility.
-
Aug 24th, 2001, 10:56 AM
#4
Thread Starter
Frenzied Member
Well...ok. Cause to this day i still dont know how to get the damn Tabstrip thingy to work.
You just proved that sig advertisements work.
-
Aug 24th, 2001, 10:57 AM
#5
Fanatic Member
tabStrip is terrible. It must be the only way MS had to create the illusion of tabs before the SSTab came along.
To make the tabStrip work even close to the SSTab takes more code than it is worth. I have seen code that uses the tabStrip and it involves moving all the controls for each tab off the screen when they are not needed, and back onto the screen when they are needed.
-
Aug 24th, 2001, 10:58 AM
#6
Thread Starter
Frenzied Member
Originally posted by Cenobite
Yes tabstrip is truely pants.
Its probably only included for backward compatibility.
Backwards compatibility??? SO people actually used it? Wow...
You just proved that sig advertisements work.
-
Aug 24th, 2001, 10:59 AM
#7
Thread Starter
Frenzied Member
Originally posted by jbart
tabStrip is terrible. It must be the only way MS had to create the illusion of tabs before the SSTab came along.
To make the tabStrip work even close to the SSTab takes more code than it is worth. I have seen code that uses the tabStrip and it involves moving all the controls for each tab off the screen when they are not needed, and back onto the screen when they are needed.
eeeeeeeeewwwwwwww
You just proved that sig advertisements work.
-
Aug 24th, 2001, 11:18 AM
#8
Fanatic Member
nishantp,
I can't find the code that was written for my agency by an outside vendor, but the tabStrip code goes something like the following. I know, it is not a great example.
VB Code:
Private Sub Form_Load()
TabStrip1.TabIndex = 0
Text1.Left = 720
Text2.Left = -2000
End Sub
Private Sub TabStrip1_Click()
If TabStrip1.TabIndex = 0 Then
TabStrip1.TabIndex = 1
Text1.Left = -2000
Text2.Left = 720
Else
TabStrip1.TabIndex = 0
Text1.Left = 720
Text2.Left = -2000
End If
End Sub
The real headache is setting up the controls for the correct tab, since they are all on the screen while you are in design mode. Unless you set the left properties for each tab to a different spot off-screen, which is just a mess. SSTab is just a lot less headaches.
I suppose you could change the visible property, or put the controls into frames and change the visible property of the frames, but the point is that it is a lot of trouble.
-
Aug 24th, 2001, 12:55 PM
#9
-
Aug 24th, 2001, 01:06 PM
#10
Fanatic Member
-
Aug 24th, 2001, 02:34 PM
#11
-
Aug 24th, 2001, 02:45 PM
#12
I think the tabstrip was meant for something entirely different then the SSTab. It sucks when you try to use it hold different controls on each tab thats true, but I don't think it was meant for that. I have used it in situations that use the same interface. Like say you have a calendar that shows only one week and you want the use to be able to select different weeks. You can use the tabstrip to switch weeks and give catch the change to just change the data not the controls. And since all the controls for each week are the same it woudl suck to use the SSTab and have dupes of the controls on every tab. So the tabstrip has its uses but they just don't come up too often.
i don't think that I explained that very well but its an example.
-
Aug 24th, 2001, 02:47 PM
#13
Member
Yeah, you can use the TabStrip as a taskbar-style toggler, too. But the SSTab has the two major advantages of having each tab be a container, and to be able to change tabs normally at design time.
-
Aug 24th, 2001, 03:12 PM
#14
Yup if each tab needs to have different controls or something I wouldn't even bother with the tabstrip but I don't think MS intended it be used for that either.
Here is a better example that what I explained.
Long live the tabstrip (and FSO)
-
Aug 24th, 2001, 09:13 PM
#15
Lively Member
I don't know i prefer the tabstrip now after i finally got it to work. The SST Tab looks ugly but it is much easier to work with While the tabstrip requires a lot more coding to get it up and running, but it looks better.
So far i've only been using it to contain some listviews so i'm finding it quite easy to use, might be different if i put different controls on them as you tend to have to use arrays to place the controls and i'm finding it hard to get a handle on using arrays.
Incidentally the tabstrip is the newer version of the tabbox not the SST Tab, which is the old method (i think).
-
Aug 24th, 2001, 09:19 PM
#16
The only advantage Tabstrip have is than the caption change direction when you put vertical ( like all tab are at the left or right). SSTtab do that but the text direction will not change.
-
Aug 24th, 2001, 09:20 PM
#17
Member
Originally posted by SAS-Trooper
The SST Tab looks ugly
You can change it to look like the TabStrip.
-
Aug 24th, 2001, 09:24 PM
#18
VB Code:
Private Sub Form_Load()
SSTab1.Style = ssStylePropertyPage
End Sub
This is the code to change the loooooook ;-)
-
Aug 25th, 2001, 04:05 AM
#19
-
Aug 25th, 2001, 05:05 AM
#20
As far as backwards comaptibility goes, the SSTab has been around for a lot longer - originally produced by Sheridan Software (hence the SS), it came as part of VB3. The current tabstrip on came in version 4 (or was it 5 - whenever the common controls was first included).
And you get a few more fatures in the MS version (pics next to the text, hot tracking etc.)
I tend to use the MS one unless its quick and dirty, in which case I'll use the SSTab.
THe other problem with the SS tab is that the porgrammatic interface sucks beyond belief - it's so un-intuitive.
- gaffa
-
Aug 25th, 2001, 09:05 PM
#21
Lively Member
DOH!
Well thanks for that Daok, i could have used that a couple of months ago but i've got the tabstrip to work now.
I'll keep it in mind if i need a quick-n-dirty tabbox some time in the future.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|