Gets and sets the scroll bar property, to indicate whether vertical and/or horizontal scrollbars are enabled.
Read-write property
Visual Basic |
---|
Public Property ScrollBars As enumScrollBars |
An enumScrollBars value which determines the scroll bar type.
The default is SB_Both.
When the ScrollBars property is set to 1, 2 or 3, scroll bars will not be available for AutoSize types of ISIZE_ResizeControl, ISIZE_ResizeImage, ISIZE_TileImage and ISIZE_BestFit.