Sign in Join
FPDoc Onlineexperiment

TMenuItem.Handle property

Member of TMenuItempublicIn unit Menus

Handle for the menu item allocated in the widgetset class.

Declaration

pascal
property Handle: HMENU read GetHandle write FHandle;

Description

Handle is a HMenu property with the handle for the menu item. Reading the value for the property causes the HandleNeeded method to be called to ensure that a valid handle exists for the menu item. The Handle value is assigned when the CreateHandle method in the widgetset class is called. Handle is set 0 when it has not been allocated using the widgetset class.

See also

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