trichview.com

trichview.support




Re: Confused by Merging and styles


Return to index


Author

Message

Colin Messitt

Posted: 06/01/2003 18:26:14


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