remembering/restore RVF Selections

General TRichView support forum. Please post your questions here
Post Reply
Denoson
Posts: 71
Joined: Tue Jan 24, 2006 9:25 pm
Contact:

remembering/restore RVF Selections

Post by Denoson »

Hello Sergey,
Can you send an example for RVF SELECTION remembering/restore (variants: Slected text, Selected Cells, Selected Cell text).

1) How to remember selections (rvEdit)
2) How to restore Selections.

I try to use Set/GetSelectionsbounds, but I have a bad results :(
Sergey Tkachenko
Site Admin
Posts: 17606
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

See the functions from RVLinear.pas.
The most complete selection storing/restoring is provided by RVGetSelectionEx/RVSetSelectionEx.
Results stored by all these functions remain valid after applying new next or paragraph style to the selection.
Post Reply