Click to See Complete Forum and Search --> : Text Color


Gene Snodgrass
March 31st, 2001, 10:12 AM
When displaying text in a Text Box or Label can the color of part ot the text be changed from the foreground color?


Gene

shree
March 31st, 2001, 08:03 PM
No, but you can try this out.

Place three labels with autosize turned on, and

label1.caption = "normaltext"
label2.caption = "coloredtext"
label3.caption = "normaltext"

label2.forecolor = vbGreen

label2.top=label1.top
label3.top=label2.top