trichview.com Forum Index trichview.com
TRichView support forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    trichview.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
kolovan



Joined: 22 Dec 2009
Posts: 5

PostPosted: Thu Mar 04, 2010 8:27 am    Post subject: Disable shortcut keys (Shift+Delete, Ctrl+X etc.) Reply with quote

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?
Back to top
View user's profile Send private message
Sergey Tkachenko
Site Admin


Joined: 27 Aug 2005
Posts: 6607

PostPosted: Thu Mar 04, 2010 10:44 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
kolovan



Joined: 22 Dec 2009
Posts: 5

PostPosted: Thu Mar 04, 2010 10:50 am    Post subject: Reply with quote

Thank you, Sergey!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    trichview.com Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group