Sign in Join
FPDoc Onlineexperiment

TCustomFrame.CMParentColorChanged procedure

Member of TCustomFrameprotectedIn unit Forms

Handles the CM_PARENTCOLORCHANGED message for the control.

Declaration

pascal
procedure CMParentColorChanged(var Message: TLMessage); message

Arguments

Message

Control message handled in the method.

Description

CMParentColorChanged is an overridden method in TCustomFrame. It calls the inherited method on entry to update the values in Color and ParentColor. If the control has finished loading using the LCL component streaming mechanism, the UpdateOpaque method is called to update flag values in the ControlStyle property. ControlStyle is not updated if csLoading is included in the ComponentState property.

See also

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