trichview.support
Re: set different styles |
Author |
Message |
Jaap-Willem van den Berg |
Posted: 08/08/2003 10:49:32 use function 'TCustomRichView.SetSelectionBounds' to set selection (with your information) and then use functions 'TCustomRichViewEdit.ApplyTextStyle' and 'TCustomRichViewEdit.ApplyParaStyle' to change text or paragrapgh styles. See also help-files or demo projects. Greetings, Jaap-Willem van den Berg cali wrote: > I have loaded a text-file in richview with > RichView.LoadText(Filename,0,0,False). > Now I want to set another style to some parts > of the text. I have the following information: > Line Position Length > 2 10 11 > 5 5 21 > How can I assign another style to the above text-fragments. > Thanks > Cali > |
Powered by ABC Amber Outlook Express Converter