Label caption colours

MurrMurr
03-17-2003, 04:41 AM
Say I do this


label1.caption = "Textextextextext"



Now what I want to do is, add some more text to the label, but in a different colour. Is this possible?
Thanks!

vbfan
03-17-2003, 06:53 AM
Ok that's not possible with an Label, but with a Richtextbox.
When you change some properties of it. It looks like a Label. There you can change then the color of the Text you add.
Here the properties you must change to get the label look:

Appearance -> 0-rtfFlat
Backcolor -> Buttontopsite(&H8000000F&)
Borderstyle -> 0-rtfNoBorder
Enable -> False

You Find the RTF under Microsoft Rich Textbox Control 6.0

MurrMurr
03-17-2003, 07:00 AM
Ah! Thank you! Why didn't I think of this???? >:(

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum