Sign in Join
FPDoc Onlineexperiment

TToolButton.Enabled property

Member of TToolButtonpublishedIn unit ComCtrls

Determines whether the button can respond to click events, and how it is displayed.

Declaration

pascal
property Enabled:;

Description

Enabled is a Boolean property which determines whether the tool button can respond to mouse click events at run-time. Enabled, along with Down, Style, and values in the tool bar flags influence how the button is rendered in the Paint method.

The value for the property may be changed in the CopyPropertiesFromMenuItem method, or when the CM_ENABLEDCHANGED control message is handled for the button.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.