Declaration
property ScrollBars: TScrollType;
Description
Specifies whether scrollbars are displayed.
Note: Even if you enable scrollbars, they are not displayed unless required (i.e. because image is larger than the control). To force display of scrollbars, set
ScrollBarsAlwaysVisible to True
| Value | Description |
| ssNone | No scroll bars are shown |
| ssHorizontal | A single scroll bar is shown along the bottom edge when needed |
| ssVertical | A single scroll bar is shown along the right edge when needed |
| ssBoth | Scroll bars are shown on both the bottom and right edges when needed |
Default: ssBoth
Example
// Show scroll bars
ImageEnView1.ScrollBars := ssBoth;
See Also
◼CurrentScrollBars
◼ScrollBarsAlwaysVisible
◼HScrollBarParams
◼VScrollBarParams