trichview.com

trichview.support




Re: Confused by Merging and styles


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/02/2003 20:52:47


It must work.

Are you sure that protected style has index = 1?



> Or having played further I think I need to maybe turn off the BackColor

and

> Protection in Style 1 (the style number I used when inserting the merged

> fields, just like the demo) after the merge is complete. I tried that with

>

>   RichViewEdit2.Style.TextStyles[1].BackColor := clNone;

>   RichViewEdit2.Style.TextStyles[1].Protection :=

> RichViewEdit2.Style.TextStyles[1].Protection - [rvprModifyProtect];

>   RichViewEdit2.Format;

>

> but that didn't seem to achieve it, the merged elements were still

protetced

> and had a background color.

>

> (The two RichViewEdits are attached to different TRVStyle components if

that

> makes any difference).

>

> Colin.

>

>





Powered by ABC Amber Outlook Express Converter