Sign in Join
FPDoc Onlineexperiment

TMenu.OnMeasureItem property

Member of TMenupublishedIn unit Menus

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

Declaration

pascal
property OnMeasureItem: TMenuMeasureItemEvent read FOnMeasureItem write FOnMeasureItem;

Description

OwnerDraw, OnDrawItem, and OnMeasureItem are not supported on the macOS Carbon, GTK2, QT4, QT5, and QT6 widgetsets.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.