Page 1 of 1

remembering/restore RVF Selections

Posted: Thu Feb 16, 2006 5:08 pm
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 :(

Posted: Thu Feb 16, 2006 6:53 pm
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.