2
votes

Who or what inserts the Unicode, right-to-left and IME items at the foot of the default right-click popup menu in Delphi 2010 VCL applications? I would like to remove them for user environments where they are unlikely ever to be needed, without having to define a custom pop-up menu for every edit and memo. Most of the time only copy, cut, paste and select all are appropriate.

1

1 Answers

9
votes

The OS inserts them. The entire menu is generated by the underlying Windows control, not by Delphi.

To have a different menu, provide your own TPopupMenu component, set the control's PopupMenu property, and provide whatever menu items you want.