ActnList.TCustomAction.AutoCheck

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From ActnList.pas

	property AutoCheck: Boolean read FAutoCheck write SetAutoCheck;


Unit: ActnList

Type: property

Visibility: public

Member Of: TCustomAction

C++ Information

From ActnList.hpp

	__property bool AutoCheck = {read=FAutoCheck,write=SetAutoCheck};


Unit: ActnList

Type: property

Visibility: public

Member Of: TCustomAction

Description

Controls whether the Checked property toggles when the action executes.


AutoCheck causes the checked property to toggle when the action executes. This allows the action's Checked property to remain in sync with the client's Checked property (or equivalent). If the client is a menu item (where the Checked property does not necessarily toggle), AutoCheck is propagated to the AutoCheck property of the menu item.

See Also

Personal tools
Translations
Newest Version