[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Menus' (#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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.