Solved

ssTab - Background Color

Posted on 2003-11-19
9
2,816 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

746 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

8 Experts available now in Live!

Get 1:1 Help Now