Vcl.ActnMan.TCustomActionManager.SetState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetState(const Value: TActionListState); override;

C++

virtual void __fastcall SetState(const System::Actions::TActionListState Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TCustomActionManager

Description

Sets the State property for the action list.

Vcl.ActnMan.TCustomActionManager.SetState inherits from System.Actions.TContainedActionList.SetState. All content below this line refers to System.Actions.TContainedActionList.SetState.

Sets the State property for the action list.

If Value is asSuspendedEnabled, then SetState also sets Enabled to True for all the actions in the action list. This is useful when designing in the Action Manager.

If the OnStateChange event handler is set, then SetState calls this event handler.

See Also