Sign in Join
FPDoc Onlineexperiment

TCustomPanel.CMParentColorChanged procedure

Member of TCustomPanelprotectedIn unit ExtCtrls

Handles a CM_PARENTCOLORCHANGED message for the control.

Declaration

pascal
procedure CMParentColorChanged(var Message: TLMessage); message

Description

CMParentColorChanged ensures that the Color property is updated when the message is received for the control. The property value from the Parent control is stored in Color when ParentColor is set to True. No actions are performed in the method when ParentColor is set to False.

This description is the one of Controls.TControl.CMParentColorChanged.

See also

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