We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Restrict Default Key Behaviour

Dear All, I want to restrict the default behaviour of a keyboard button. For.Eg. if we click the Right click button it will launch Undo, Cut, Copy, Paste, Delete, SelectAll window. This should not happen. Can any one guide me. Many Thanks in advance..

2 Replies

IN Inger April 6, 2006 05:11 AM UTC

Dear All, Using VB.NET, I want to restrict the default behaviour of a keyboard button. For.Eg. if we click the Right click button it will launch Undo, Cut, Copy, Paste, Delete, SelectAll window. This should not happen. Can any one guide me. Many Thanks in advance..


JH Julian Holling April 6, 2006 07:30 AM UTC

You could add a context menu giving the options you require. The context menu can be applied to any of the controls on the form (one or more controls). This overrides the default ut, copy, paste functionality of the standard context menu.

Loader.
Live Chat Icon For mobile
Up arrow icon