Skip to main content

TdxDockingController.Color(TCustomForm) Method

Returns the color of dock controls that use manager settings.

Declaration

function Color(AForm: TCustomForm): TColor;

Parameters

Name Type
AForm TCustomForm

Returns

Type
TColor

Remarks

This method’s return value is used for dock controls that reside on the form specified by the AForm parameter. The method first tries to find the docking manager that provides settings for controls residing on the form specified. If the manager exists, its Color property value is returned. Otherwise, the method returns the clBtnFace value.

Note that the color returned is used by dock controls whose ManagerColor property value is True.

See Also