[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 286

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 the menu item automatically toggles the value in Checked when executed.

TMenuItem.ShowAlwaysCheckable

  

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


Version 4.0 Generated 2025-05-03 Home