Solved

ssTab - Background Color

Posted on 2003-11-19
9
2,826 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
 

Expert Comment

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

Or the whole form and tab
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

867 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

16 Experts available now in Live!

Get 1:1 Help Now