TSRichViewEdit - key handling in srvvmPreviewMode

General TRichView support forum. Please post your questions here
Post Reply
Jim Knopf
Posts: 241
Joined: Mon Dec 30, 2013 10:07 pm
Location: Austria
Contact:

TSRichViewEdit - key handling in srvvmPreviewMode

Post by Jim Knopf »

If I set TSRichViewEdit to srvvmPreviewMode, I only can navigate using the scrollbar.
Is there a possibility to enable keystrokes up/down/PgUp/PgDown to navigate throug the document?
Sergey Tkachenko
Site Admin
Posts: 17565
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

We will try to fix it in the next update.
Sergey Tkachenko
Site Admin
Posts: 17565
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Well, in this mode, the caret is still in the document, but it is hidden. You can move this invisible caret using keys, and the editor scrolls to show the caret location.
We do not plan to change it in near future, sorry.
You can implement your own scrolling by processing OnKeyDown
Post Reply