Sign in Join
FPDoc Onlineexperiment

TCustomLabeledEdit.CMEnabledChanged procedure

Member of TCustomLabeledEditprotectedIn unit ExtCtrls

Handler signalled when the Enabled property has been changed.

Declaration

pascal
procedure CMEnabledChanged(var Msg: TLMessage); message

Description

If the control is not Enabled and has a Parent control, the RemoveFocus method is called to defocus the control on its Parent form. If the window Handle has been allocated for the control, the EnableWindow routine in the LCL interface is called to set the enabled state for the handle.

CMEnabledChanged calls the inherited method prior to exit to Invalidate the control.

This description is the one of Controls.TWinControl.CMEnabledChanged.

See also

  • RemoveFocus
  • Enabled
  • CMEnabledChanged
  • Invalidate

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