Sign in Join
FPDoc Onlineexperiment

TControl.CMParentColorChanged procedure

Member of TControlprotectedIn unit Controls

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.

See also

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