trichview.support
Re: Convert string "TRichView" to specified style! |
Author |
Message |
Sergey Tkachenko |
Posted: 04/21/2003 10:22:01 If text is in TRichViewEdit, you can select text and call ApplyTextStyle. If text is in TRichView, you can call rv.GetItem(ItemNo).StyleNo := NEWSTYLENO (calling rv.Format is required to update view), where ItemNo is an index of text item to convert. There are no methods to convert a style of part of text item in TRichView. If you need it, you need to write procedure of adding text already with the desired style. > > I want to convert string "TRichView" to a specified style. > > Say, I want to convert all string "TRichView" to Style "Jump 1"; so user > easily can click on word TRichView. > > How it possible? > Regards |
Powered by ABC Amber Outlook Express Converter