Selected text

General TRichView support forum. Please post your questions here
Post Reply
tors
Posts: 6
Joined: Thu Jan 31, 2008 7:13 am

Selected text

Post by tors »

1)Whether how to determine there is an selected text
To receive or set selected text and its properties
( Font, Colour and òï)

2)How to cut / insert the text and images in document with preservation of formatting

3)How to involve the lists
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

1. See the help file, the topic "Selecting Part of RichView Document".
Selected text may have several different fonts. Of course, you can enumerate all selected text items and find common properties, but I suggest simply to use attributes of text at the position of caret, like RichViewActions and other demos do. These attributes are in RVStyle1.TextStyles[RichViewEdit1.CurTextStyleNo]

2) Sorry, I do not understand this question

3) Bullets and numbering? See the demo Demos\Delphi\Assorted\ListStyles\Bullets
Post Reply