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

TMenuItem.OnMeasureItem

Event handler signalled to get the Width and Height for the menu item.

Declaration

Source position: menus.pp line 344

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

Description

OnMeasureItem is a TMenuMeasureItemEvent property with the event handler signalled to calculate the width and height for the menu item on the specified Canvas.