TWinControl.CMEnabledChanged procedure
Handler signalled when the Enabled property has been changed.
Declaration
procedure CMEnabledChanged(var Message: TLMessage); messageArguments
Message | CM_ENABLEDCHANGED control message which triggered the handler. |
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
