Help & Manual authoring tool
How to deactivate the popup menu that appears when we right-click on an Edit component (or other components that allow editing such as MaskEdit, Memo, DbEdit, etc.)

Deactivating the context menu

Copyright © 2000 Ernesto De Spirito

KnowledgeBase Vortex 2.9

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.

JfControls Library - for Delphi and C++ Builder
Copyright © 2000/2006 Ernesto De Spirito.   All rights reserved.