[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handles the CM_PARENTCOLORCHANGED message for the control.
Source position: forms.pp line 220
protected procedure TScrollBox.CMParentColorChanged( |
var Message: TLMessage |
); message; |
Message |
|
Control message handled in the method. |
CMParentColorChanged is an overridden method in TScrollBox used to handle a CM_PARENTCOLORCHANGED message received for the control. It calls the UpdateParentColorChange method to include or exclude csOpaque in the ControlStyle property; csOpaque is included if either ParentColor or ParentBackground is set to True. Otherwise, the value is excluded from ControlStyle.
CMParentColorChanged calls the inherited method to update the Color property when ParentColor is enabled.
|
Indicates if the control uses the background from its Parent control. |
|
|
Use the Color from the Parent control, when enabled. |
|
|
The background color for the control. |
|
|
Handles a CM_PARENTCOLORCHANGED message for the control. |
|
|
Contains style flags which control the features or behaviors enabled for the control. |
|
|
Enumerated type with values for features or behaviors for a control. |
Version 4.0 | Generated 2025-05-03 | Home |