TCustomPanel.UpdateParentColorChange procedure
Updates the control to reflect changes to the ParentColor property.
Declaration
procedure UpdateParentColorChangeDescription
UpdateParentColorChange updates the control to use the opacity
needed for the values in the
ParentColor or
ParentBackground properties.
If either ParentColor or ParentBackground is True, the value
csOpaque is excluded from the ControlStyle property.
If both properties are False, csOpaque is included in the ControlStyle
property.
UpdateParentColorChange is called from the Loaded method when the
component has finished loading using the LCL component streaming mechanism.
It is called from the CMParentColorChanged method when the
change message is handled for the control. It is also called when a new value
is assigned to the ParentColor or ParentBackground properties.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
