Sign in Join
FPDoc Onlineexperiment

TMenuItem.GetHandle function

Member of TMenuItemprotectedIn unit Menus

Gets the value for the Handle property.

Declaration

pascal
function GetHandle: HMENU

Function result

Value for the property.

Description

GetHandle calls HandleNeeded to ensure that a valid handle is available for the menu item. If the handle has not already been allocated, CreateHandle is called to create the handle in the widgetset class.

See also

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