RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlScrollBar.ParentColor Property

Specifies whether the scroll bar should.

Pascal
property ParentColor: Boolean;
C++
__property Boolean ParentColor;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!