Vcl.Forms.TControlScrollBar.ParentColor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ParentColor: Boolean read FParentColor write SetParentColor default True;

C++

__property bool ParentColor = {read=FParentColor, write=SetParentColor, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TControlScrollBar

Description

Specifies whether the scroll bar should.

Use ParentColor to indicate that the scroll bar should always reflect the Windows button highlight color. Using ParentColor differs from setting the Color property to clBtnHighlight in that when ParentColor is true, changing the button highlight color in the Windows control panel automatically updates the value of Color.

When the value of the Color property is changed, its ParentColor property is automatically set to false.

See Also