Link to home
Start Free TrialLog in
Avatar of ravicha
ravicha

asked on

Set color to text on Statusbar

Hi,
  I am trying to set a color to the text displayed on the VB standard Statusbar control. This happens when iam showing  error messages. Does VB have any property to attach color to strings at runtime and display them simulatneously? Pls. help.

Ravicha
ASKER CERTIFIED SOLUTION
Avatar of alesh
alesh

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 vip110598
vip110598

ravicha,
YES their is a very simple way.
Just let me get to work and I will post you the answer.
Avatar of ravicha

ASKER

Alesh,
Thanks for suggestion. Your idea works but can i tag color to some string and display that in the statusbar, like writing a function  that gives the string the required color. I know it is asking for more but it makes me avoid using any VB controls like textbox on the statusbar. I have only one form that has the statusbar that are used by the others too. Hope you got my point.
Avatar of ravicha

ASKER

Alesh,
Thanks for suggestion. Your idea works but can i tag color to some string and display that in the statusbar, like writing a function  that gives the string the required color. I know it is asking for more but it makes me avoid using any VB controls like textbox on the statusbar. I have only one form that has the statusbar that are used by the others too. Hope you got my point.
Avatar of ravicha

ASKER

Vip,
I am waiting for your answer.