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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
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.
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.
ASKER
Vip,
I am waiting for your answer.
I am waiting for your answer.
YES their is a very simple way.
Just let me get to work and I will post you the answer.