RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlScrollBar.Color Property

Specifies the scroll bar's color.

Pascal
property Color: TColor;
C++
__property TColor Color;

Use Color to specify the scroll bar's color. When you explicitly assign a value to Color, the ParentColor property is automatically set to false. 

If the scroll bar's ParentColor property is true, then the Color property reflects the Windows button highlight color (clBtnHighlight), and changing this color in the Windows control panel automatically updates the value of Color. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!