Disable shortcut keys (Shift+Delete, Ctrl+X etc.)

General TRichView support forum. Please post your questions here
Post Reply
kolovan
Posts: 5
Joined: Tue Dec 22, 2009 12:16 pm

Disable shortcut keys (Shift+Delete, Ctrl+X etc.)

Post by kolovan »

Hi,

is there any way to disable shortcut keys (Shift+Delete, Shift+Insert, Ctrl+Insert, Ctrl+X, Ctrl+C, Ctrl+V) in RichViewEdit except writing code for OnRichViewEditKeyDown event handler?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

No. Only using OnKeyDown.
Or Form.OnKeyDown + Form.KeyPreview=True, but it is essentially the same thing.
Or placing menu items or actions with these shortcuts.
But there are no RichViewEdit properties to disable processing these keys.
kolovan
Posts: 5
Joined: Tue Dec 22, 2009 12:16 pm

Post by kolovan »

Thank you, Sergey!
Post Reply