How to use Leban's RichText to set the color of text?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all

I try to set the color of some text in a textbox on the fly. That is, I will select a string first, set its color, then select another string and set its color

I have installed Leban's RichText. But the problem is Leban's tool can only invoke the color pallette and set the color

What I need is to set the color of some text according to some criteria

Any suggestions?
 
Dear mush:

How about conditional formatting off the options
menu?

Hope this Helps
-----Original Message-----
Dear all,

I try to set the color of some text in a textbox on the
fly. That is, I will select a string first, set its color,
then select another string and set its color.
I have installed Leban's RichText. But the problem is
Leban's tool can only invoke the color pallette and set
the color.
 
Jeeze, I screwed up that property didn't I. Truly I never gave it a
second thought until your post. The current SelTextFontColor method
should contain an optional parameter to signal whether to invoke the
Color Dialog or not. I'll see if I can post a fix later tonight or
tomorrow. If you don't see an update by tomorrow send me an Email.

If you can't wait you can look at the older non ActiveX RTF solutions on
my site for sample code using the SendMEssage API to control the RTF
output.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


mushroom said:
Dear all,

I try to set the color of some text in a textbox on the fly. That is,
I will select a string first, set its color, then select another string
and set its color.
I have installed Leban's RichText. But the problem is Leban's tool can
only invoke the color pallette and set the color.
 
I have updated the RTF2 control tonight to include the functionality we
discussed/
http://www.lebans.com/richtext.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


mushroom said:
Dear all,

I try to set the color of some text in a textbox on the fly. That is,
I will select a string first, set its color, then select another string
and set its color.
I have installed Leban's RichText. But the problem is Leban's tool can
only invoke the color pallette and set the color.
 
Back
Top