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

TMenuItem.GetHandle

Gets the value for the Handle property.

Declaration

Source position: menus.pp line 230

protected function TMenuItem.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

TMenuItem.Handle

  

Handle for the menu item allocated in the widgetset class.


Version 3.2 Generated 2024-02-25 Home