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

TMenuActionLink.SetAutoCheck

Updates the AutoCheck property in the linked menu item.

Declaration

Source position: menus.pp line 74

protected procedure TMenuActionLink.SetAutoCheck(

  Value: Boolean

); override;

Arguments

Value

  

New value for the AutoCheck property in the linked TMenuItem client.

Description

No actions are performed in the method if the AutoCheck property in the linked action and the linked menu item have different values on entry.

See also

TMenuItem.Action

  

Action is the default action associated with the menu item.

TMenuItem.AutoCheck

  

Indicates whether the menu item automatically toggles the value in Checked when executed.

TMenuItem.Checked

  

Indicates whether a check mark is displayed beside the menu item.

TCustomAction.AutoCheck

  

AutoCheck - whether the control (e.g. a CheckBox) is to be automatically checked.

TActionLink.SetAutoCheck

  

Sets the value for the AutoCheck property in the linked client control.

TBasicActionLink.Action


Version 4.0 Generated 2025-05-03 Home