?
Solved

How to change Back & Fore Color Of Selected Tab of SSTab control

Posted on 2003-03-21
6
Medium Priority
?
521 Views
Last Modified: 2012-06-27
Hi !.........

   Can you tell me How to change Background & Foreground Color Of Selected Tab of SSTab control.



Thank You in Advance.

Miss. Chitra From India (Mumbai)
0
Comment
Question by:ChitraMarathe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 1

Expert Comment

by:Sankar_V
ID: 8179753
Just try this!

Private Sub SSTab1_Click(PreviousTab As Integer)
If Me.SSTab1.Tab = 0 Then
Me.SSTab1.BackColor = &HFF0000
Me.SSTab1.ForeColor = &H80FFFF
Else
If Me.SSTab1.Tab = 1 Then
Me.SSTab1.BackColor = &H80FFFF
Me.SSTab1.ForeColor = &HFF0000
End If
End If
End Sub
0
 
LVL 1

Expert Comment

by:Sankar_V
ID: 8179797
Add the componenet microsoft tabbed control1

Private Sub SSTab1_Click(PreviousTab As Integer)
If Me.SSTab1.Tab = 0 Then
Me.SSTab1.BackColor = &HFF0000
Me.SSTab1.ForeColor = &HC0FFFF
Else
If Me.SSTab1.Tab = 1 Then
Me.SSTab1.BackColor = &HC0FFFF
Me.SSTab1.ForeColor = &HFF0000
End If
End If
End Sub
0
 

Author Comment

by:ChitraMarathe
ID: 8194583
No. I dont' want rhis way.

I want to change the color of specific Tab only.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:CleanupPing
ID: 8531895
Hi ChitraMarathe,
This old question (QID 20558429) needs to be finalized -- accept an answer, split points, or get a refund.  Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.
0
 
LVL 6

Expert Comment

by:GPrentice00
ID: 8957395
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

-->PAQ - with points refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

GPrentice00
EE Cleanup Volunteer
0
 

Accepted Solution

by:
YensidMod earned 0 total points
ID: 9024783
Question is PAQ'd and points refunded.

YensidMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

800 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