Solved

ssTab - Background Color

Posted on 2003-11-19
9
2,836 Views
Last Modified: 2010-08-05
Hello, im trying to figure out a way to change the background color of SSTAB in visual basic 6.
0
Comment
Question by:wd006451
  • 4
  • 4
9 Comments
 

Expert Comment

by:qwertykeyboard
ID: 9785277
0
 
LVL 1

Author Comment

by:wd006451
ID: 9786880
No, i looked at those before, thats just for the tab color.
0
 
LVL 1

Author Comment

by:wd006451
ID: 9786881
No, i looked at those before, thats just for the tab color.
0
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.

 

Expert Comment

by:qwertykeyboard
ID: 9788440
oh.... do you want the whole tab to change then?

Or the whole form and tab
0
 

Accepted Solution

by:
qwertykeyboard earned 20 total points
ID: 9788544
Quote:'

Hi

'The first thing you will need to do is to
'make up two graphics of the colour that you
'want with what you want the Tab to say on
'them. You will have to play around with the
'size and what not until you have the correct
'size.

'Once you have drawn your SSTabs on your Form,
'select from the properties window of the SSTab
'Custom and click the elipsis (the box with the ...
'that should open on the right of the Custom box).
'In the new window that opens click the arrows beside
'the Current Tab number until you come to the tab that
'you want. Delete the TabCaption.
'Now click on the Picture Tab. If your window is like
'mine you will see under Properties MouseIcon and Picture.
'Click on Picture, then click the browse button and find
'the graphic that you want to use. Click apply and then
'do the same for the other button that you want to have
'changed.

'I was not sure if you wanted the entire face of the
'tab to be coloured or not, but I threw the labels on
'to give you and idea of filling making the back different
'colours as well. Just change the Height and Width of the
'label in the Labels property window and you can get it almost
'exactly the same size as the Tab face. I would make it a little
'bigger, that way it would then cover the whole Tab Face. Then
'you can draw your controls ontop of the Label and get the look
'you are going for.

Been searching around a bit and found it!!!
Good Luck
FOund that on a VBCity forum at: http://www.devcity.net/forums/topic.asp?tid=458
0
 
LVL 1

Author Comment

by:wd006451
ID: 9788907
No, i want the whole control!
0
 

Expert Comment

by:qwertykeyboard
ID: 9789197
well surely you could use the same system. As i can see, there isnt a way to change the background colour, so, best advice would probably be 2 either use a label and choose the color of the label, or use pictures.

I can;t see any other way it can be done, and i cant find one newhere on the web!!!
If you find the answer... Great... Well Done!
0
 
LVL 1

Author Comment

by:wd006451
ID: 9789525
Thanks, i think im sorta on the same track now, ill look into this, thank you so much for your help!!!
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

828 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