Solved

Resizing individual tabs on SSTab

Posted on 1998-12-09
10
259 Views
Last Modified: 2013-12-25
Hi
I've got a SSTab control with 7 number of tabs.
Since text on each tab is long enough not to fit on a single
row, i've given "Tabs Per Row" option to be 4.
Due to this there are 4 tabs on one row and 3 tabs on other.
Thus space behind one tab remains empty.
I wish to resize individual tabs on one row such that, they
are aligned with tabs on the other row such that empty space on the row with 3 tabs is covered.
Can anyone help me out?

Thanx in advance.
Awaiting reply.
0
Comment
Question by:Rashmin
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 14

Expert Comment

by:Matti
ID: 1488820
Hi!

The TabWidth -properity is missing on that control, this is bad feature.

I solve it by addin some space chr$(32) to that tab's the "caption" -properity.

If you need a complete scale system how long this fourt tab must be this may not be very acurate way.

Matti
 




0
 

Author Comment

by:Rashmin
ID: 1488821
Thanx Matti , but adding space to the Tabs caption did not increase that individual
tabs size. Pl. give some other solution.



0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1488822
Use the tabstrip control is stead of sstab
and set the tabstyle to tabtabOpposite.

The sstab control is a very inreliable and ugly control, don't use it.
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:Rashmin
ID: 1488823
Thanks Mirkwood.
The problem is I already have proceeded too far and have a lot of controls placed
over the tab control and now i cannot transfer them to a Tabstrip control or simply
put i'll have to start from scratch for that.

If there is any other solution please tell me.

Thanx



0
 

Author Comment

by:Rashmin
ID: 1488824
For all experts:

I will be out of station for 4 to 5 days from today onwards and would not be able to
make a reply to your answers until i'm back.




0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1488825
No, there is no solution for the sstab control. BTW: the sstab control is simular to tabstrip with the usage of frames.
0
 
LVL 2

Accepted Solution

by:
kswinney earned 50 total points
ID: 1488826
If you'll post your e-mail address I'll send you a tabstrip control that is very similar to the ssTabstrip control, but is written entirely in VB.

That way, you can change it to do whatever you like.

You'll have total control.

Let me know if you're interested.
0
 

Author Comment

by:Rashmin
ID: 1488827
Thanx kswinney.
You can mail me at this address
 rsanwatsarkar@hotmail.com
Pl. add a comment here when you do so.

Thanx a lot.



0
 
LVL 2

Expert Comment

by:kswinney
ID: 1488828
Rashmin,

My tabstrip is available on the web now.  Here's the page:

www.mindspring.net/~kswinney

Enjoy!

kswinney.
0
 

Author Comment

by:Rashmin
ID: 1488829
Thanx kswinney for forwarding your control.
However in that control "kstabstrip" I was still unable
to resize the individual tabs so as to adjust odd no. of
tabs in the same space, without leaving a blank tab on
one row.


0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now