Solved

ssTab - Background Color

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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

15 Experts available now in Live!

Get 1:1 Help Now