TCustomAction.Grayed property
True if the action (and it client control) are in the grayed or indeterminate state.
Declaration
property Grayed: Boolean read FGrayed write FGrayed;Description
Grayed is a
Boolean property used to prevent execution
of an action when its client control is in the grayed or indeterminate state.
It applies primarily to check box and button controls.
Grayed is updated when the State property in an associated TCheckBox control is changed. It is also used to determine if the Checked property for a button control is linked to an assigned action; they are considered to be linked when Grayed is set to True.
Grayed is used when the value in the Checked property is updated.
Added in LCL version 3.0.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
