Update TextStyles...?

General TRichView support forum. Please post your questions here
Post Reply
jnap
Posts: 31
Joined: Sat Sep 30, 2006 6:23 pm

Update TextStyles...?

Post by jnap »

Hi,

I am Adding some Text Styles from a Seperate form, like this:

Main.rve.Style.TextStyles[0].Color := TextColEdt.SelectedColor;
Main.rve.Style.TextStyles[0].HoverColor := HyperColEdt.SelectedColor;

When I appy the Styles and close the Settings Form the Font Colour has changed but the Hyperlink Mouse Over will not update and change until I have Reloaded the File.

How can I make this change happen right away? I have tried Format and FormatTail.

What should I do?

Thanks, jnap.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Please send me a simple application reproducing this problem.
jnap
Posts: 31
Joined: Sat Sep 30, 2006 6:23 pm

Post by jnap »

Hi Sergey,

Thanks for your quick response.

I have kind of found a way around the problem now and it's working well for what I need.

Many thanks

jnap
Post Reply