Sign in Join
FPDoc Onlineexperiment

TCustomUpDown.OnAssociateChangeEnabled procedure

Member of TCustomUpDownprotectedIn unit ComCtrls

Implements an OnEnabledChanged event handler assigned to the Associate control in the class instance.

Declaration

pascal
procedure OnAssociateChangeEnabled(Sender: TObject)

Arguments

Sender

Control (Associate) for the event notification.

Description

OnAssociateChangeEnabled ensures that the Enabled property is updated when the corresponding property in the Associate control has been changed. When the Enabled property has been changed, the overridden SetEnabled method id called to update the enabled state for the speed buttons on the control.

No actions are performed in the method if a control has not been assigned to the Associate property.

OnAssociateChangeEnabled is assigned when a new value is stored to the Associate property.

See also

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