Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I change the color of Message Box?

Status
Not open for further replies.

Ferlin

Programmer
Jan 18, 2001
71
US
Hi All,

I first want to say thanks for the couple of times I have used this forum, I had speedy responses that worked. Keep up the good work. Now for the Questions.

I tried the keyword search with out much luck. I saw some FAQ's on changing colors in a ListBox, but not on a MsgBox.

I would like to change the BackColor and ForeColor of the MsgBox as well as the color of the text. Also is it possible to mix colors with in the text, as well as toggle the BOLD on and off.

Any HELP would be appreciated, especially with code.

Thanks In Advance.

Ferlin.
 
Listbox is an object exposed to VB. Backcolor and Forecolor are PROPERTIES of ListBox, also exposed to VB. Msbgbox is a Function/Sub as far as VB is concerned. It has no parameters for setting the colors of the underlying object which is invisible to VB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top