Vcl.Forms.TControlScrollBar.Color
Delphi
property Color: TColor read FColor write SetColor default clBtnHighlight;
C++
__property System::Uitypes::TColor Color = {read=FColor, write=SetColor, default=-16777196};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TControlScrollBar |
Description
Specifies the scroll bar's 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.