Deactivating the context menu
Copyright © 2000 Ernesto De Spirito
![]() |
When we right-click on an Edit component (or other components
that allow editing such as MaskEdit, Memo, DbEdit,
etc.), by default the system's context menu pops up with options to undo, copy,
paste, etc.
If for any reason we don't want this menu to be displayed, one way is
to simply put a TPopupMenu component on the form and assign it to
the PopupMenu property of the components whose context menu we
want to disable.
![]() |



