Somebody
Somebody

Reputation: 733

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

Upvotes: 0

Views: 1303

Answers (1)

David A
David A

Reputation: 379

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

Upvotes: 3

Related Questions