Contents
- Index
- Previous
- Next
ScrollBars property
Applies to
TProfGrid component
Declaration
property ScrollBars: TScrollStyle;
Description
Specifies whether the grid includes horizontal and vertical scroll bars.
Use ScrollBars to give the grid horizontal or vertical scroll bars. ScrollBars can have one of the following values:
ssNone
No scrollbars are indicated.
ssHorizontal
Only a horizontal scrollbar.
ssVertical
Only a vertical scrollbar.
ssBoth
Both a horizontal and a vertical scrollbar.
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.