System.Actions.TContainedAction.AutoCheck

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoCheck: Boolean read FAutoCheck write SetAutoCheck default False;

C++

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

Properties

Type Visibility Source Unit Parent
property public
System.Actions.pas
System.Actions.hpp
System.Actions TContainedAction

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 Checked property of the action to remain in sync with the Checked property of the client (or an equivalent).

If the client has an AutoCheck property of its own, the AutoCheck property of the action is propagated to the AutoCheck property of the client.

See Also