property Group.ScrollBars as ScrollBarsEnum
Returns or sets a value that determines whether the group has horizontal and/or vertical scroll bars.

TypeDescription
ScrollBarsEnum A ScrollBarsEnum expression that identifies which scroll bars are visible.

Use the ScrollBars property to disable the group's scroll bars. By default, the ScrollBars property is exBoth, so both scroll bars are used if necessarily. For instance, if the ScrollBars property is exNone the group displays no scroll bars. If the AutoHeight property is True, the group displays no vertical scroll bar. The exVertical flag is removed if the AutoHeight property is changing at runtime. You can call the ScrollBars property after setting the AutoHeight property, in case you need vertical scroll bar. The control displays a scroll bar only if it is required. Use the AutoScrollBar property to hide the control's vertical scroll bar.