Link to home
Start Free TrialLog in
Avatar of anesk
anesk

asked on

VB6 TabStrip control lacks BackColor property

How does one change background property for TabStrip OCX. Solution to the original question points to http://www.elitevb.com/content/01,0042,01/ , which is now not available. Does anyone have a copy?

Answer to this question https://www.experts-exchange.com/questions/21634250/change-color-of-tabstrip-control-in-vB6.html
utilizes subclassing, is there any other way, say, sending a message?
Avatar of gplana
gplana
Flag of Spain image

If what you want is to change the color of the tabs themselves rather than the background of the control then I am afraid that you cannot do this. If you use the SSTab control from VB6 SP4 update then it is possible to assign bitmap images to the tabs which can simulate a background color for the tab. However you have to also include the text for the caption within the bitmap.
Similar to what gplana mentions, I normally place a frame control on top of each tab and then I can set the Color as I see fit and all objects fit nicely on the frame.
ASKER CERTIFIED SOLUTION
Avatar of judgeking
judgeking
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of anesk
anesk

ASKER

Thank you very much, this is what I am looking for!