[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'StdCtrls' (#lcl)

# TScrollStyle

Indicates the visibility for scrollbars on a control.

## Declaration

Source position: stdctrls.pp line 44

`type TScrollStyle = (`
`ssNone,` |  | No scrollbars are displayed.
`ssHorizontal,` |  | A horizontal scrollbar is shown.
`ssVertical,` |  | A vertical scrollbar is shown.
`ssBoth,` |  | Both horizontal and vertical scrollbars are shown.
`ssAutoHorizontal,` |  | A horizontal scrollbar is shown only when needed.
`ssAutoVertical,` |  | A vertical scrollbar is shown only when needed.
`ssAutoBoth` |  | Both scrollbars are shown only when needed.
`);`

## Description

TScrollStyle is an enumerated type with values that indicates the visibility for one or more scrollbars displayed for an associated edit control. TScrollStyle is the type used to implement the ScrollBars property in TCustomMemo.

## See also

TCustomMemo.ScrollBars |  | Defines the vertical and/or horizontal scrollbars used in the control.