Sign in Join
FPDoc Onlineexperiment

TButtonPanel.Enabled property

Member of TButtonPanelpublishedIn unit ButtonPanel

Declaration

pascal
property Enabled: ;

Description

Not described here; this is what TControl.Enabled says of it:

Determines whether the control responds to mouse or keyboard input.

Enabled is a Boolean property which indicates whether the control can respond to focus, input, or mouse events. The default value for the property is True. When Enabled is set to False, the control is displayed with a "grayed-out" appearance. It is unable to receive input focus, handle keyboard navigation or input, respond to mouse click events, or execute its Action.

Changing the value for the property causes additional actions to be performed. EnabledChanging is called to signal any chtOnEnabledChanging control handlers assigned for the control. The property value is updated, and a CM_ENABLEDCHANGED control message is dispatched for the control. The EnabledChanged method is called to signal any chtOnEnabledChanged control handlers for the control.

Use IsEnabled to check the effective enabled state for both the control and its Parent control (when assigned).

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.