Search code examples
delphidelphi-2010popupmenuownerdrawn

TPopupmenu Ownerdraw


i set the Popupmenu OwnerDraw property True but there is no "OnOwnerDraw" event neither in the object inspector nor .OnOwnerDraw property in the code !

using Delphi 2010

enter image description here

enter image description here


Solution

  • There is TMenuItem.OnDrawItem each menu item gets it own (or shared) event.