[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Menus' (#lcl)

TMenu.OnDrawItem

Event handler signalled to draw a menu item on the menu.

Declaration

Source position: menus.pp line 420

published property TMenu.OnDrawItem : TMenuDrawItemEvent
  read FOnDrawItem
  write FOnDrawItem;

See also

TMenu.OwnerDraw

  

Indicates if the menu items are drawn using the OnDrawItem event handler.

TMenu.OnMeasureItem

  

Event handler signalled to get the width and height for a menu item on the menu.