trichview.com

trichview.support




Re: I Need Help


Return to index


Author

Message

Sergey Tkachenko

Posted: 03/31/2005 21:01:53


This demo shows how to apply font to fields at the moment of insertion

(see function TForm1.GetFieldStyleNo: Integer, the line

fi.Assign(RVStyle1.TextStyles[rve.CurTextStyleNo]);

It assigns to fi the font of text at the position of caret; you can modify

properties of fi here, such as FontName, Size, Color, Style, etc.).

But after the insertion, text style (and, hense, font) of the inserted field

is protected (locked).

Do you want to allow changing it after insertion? If yes, by user (like any

other text) or in code?




> How Apply Font Actions to the Protect TextStyles?

> I did not see this in the example

>

> thanks





Powered by ABC Amber Outlook Express Converter