Changing the Text Color in a RichText Box

tonyr1988
09-06-2003, 10:27 AM
Since the RichText box doesn't have a ForeColor property, how would someone go about changing the text color of one?

As always, thanks in advance for any and all help. Until next time, take care and God Bless!
-Tony

wright100
09-06-2003, 10:29 AM
Since the RichText box doesn't have a ForeColor property, how would someone go about changing the text color of one?

As always, thanks in advance for any and all help. Until next time, take care and God Bless!
-Tony


I think u change the selcolor of the richtext box. Box.selcolor=&HFF& (For example.)

tonyr1988
09-06-2003, 12:04 PM
How about the text for a command button? The only color properties that I see are BackColor and MaskColor. Why can't Microsoft be consistent? :mad:

Until next time, take care and God Bless!
-Tony

Iceplug
09-06-2003, 12:13 PM
You cannot change the ForeColor of a command button...
if you really want a button to have a different text color, you could use a ComboBox with the Style set to 1. :)

wright100
09-07-2003, 06:51 AM
You cannot change the ForeColor of a command button...
if you really want a button to have a different text color, you could use a ComboBox with the Style set to 1. :)



Yeah u can't change the forecolor, but u can change the backcolor by setting the command buttons style to graphical and then changing the subject.

edit: Sorry didn't mean subject meant backcolor.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum