RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.ScrollBars Property

Specifies whether the grid includes horizontal and vertical scroll bars.

Pascal
property ScrollBars: TScrollStyle;
C++
__property TScrollStyle ScrollBars;

Use ScrollBars to give the grid horizontal or vertical scroll bars.

Note: If all the cells in the grid fit in the ClientWidth, no horizontal scroll bar appears, even if ScrollBars is ssHorizontal or ssBoth. If all the cells fit in the ClientHeight, no vertical scroll bar appears, even if ScrollBars is ssVertical or ssBoth.
 

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