Reputation: 2060
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.
Upvotes: 2
Views: 2373
Reputation: 163277
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.
Upvotes: 9