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

M

mushroom

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?
 
A

Art

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.
 
S

Stephen Lebans

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.
 
S

Stephen Lebans

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top