Unit 'Menus' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TMenu.OnMeasureItem

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

Declaration

Source position: menus.pp line 421

published property TMenu.OnMeasureItem : TMenuMeasureItemEvent
  read FOnMeasureItem
  write FOnMeasureItem;

See also

TMenu.OwnerDraw

  

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

TMenu.OnDrawItem

  

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