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

TMenuItem.RecreateHandle

Re-creates the Handle for the menu item.

Declaration

Source position: menus.pp line 280

public procedure TMenuItem.RecreateHandle; virtual;

Description

RecreateHandle is a method used to destroy and re-create the Handle for the menu item. It is called when the type or the context for a TMenuItem instance is changed.

See also

TMenuItem.Handle

  

Handle for the menu item allocated in the widgetset class.

TMenuItem.HandleAllocated

  

Indicates whether a Handle has been allocated for the menu item.

TMenuItem.HandleNeeded

  

Ensures that a valid Handle exists for the menu item.

TMenuItem.AutoCheck

  

Indicates whether a check mark state is read from the Action for the menu item (when assigned).

TMenuItem.ShowAlwaysCheckable

  

ShowAlwaysCheckable - if True, Item is always shown as checkable.


Version 3.2 Generated 2024-02-25 Home