how to move SRV page up/down?

General TRichView support forum. Please post your questions here
Post Reply
Alextp
Posts: 46
Joined: Sun Apr 24, 2011 8:21 am

how to move SRV page up/down?

Post by Alextp »

i want on KeyDown event perform page down code. What props/methods to call to move SRV page down/up?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

page down:
PostMessage(SRichViewEdit1.RichViewEdit.Handle, WM_KEYDOWN, VK_NEXT, 0)
page up:
PostMessage(SRichViewEdit1.RichViewEdit.Handle, WM_KEYDOWN, VK_PRIOR, 0)
Post Reply