|
Technical answers from the trenches |
|
Hiding Default Shortcut Menus
| ||||
Posted: 12 June 2003 |
||||
  |
Applies to: All versions |
|||
  |
Audience: Beginner |
|||
Question: How to I prevent Delphi from displaying the default context (shortcut) menus that appear when you right-click certain objects by default?Answer: Drop an empty TPopupMenu component on your form and then assign it to the PopupMenu property of the component with the default shortcut menu you want to hide. To illustrate, let's assume you want to hide the default shortcut menu for a memo object. To do this:
Tips:
There are, of course, different (and possibly more complicated) ways to do this. However, we feel this is the easiest--and fastest--to implement. |
|||
|
||||||||
|
Copyright © 2000-2004, techtricks.com; All Rights Reserved. Acknowledgements, Disclaimers, Terms and Conditions. |
||||||||
|
Article last updated on 11 December 2003
|
||
|
|
||
|
[- End -]
|