|Top Previous Next|
Specifies whether a Form control has a scrollbar.
Control.ScrollBars = nType
Specifies the type of scrollbars for the control.
For a Form control, the following table lists settings for nType:
Applies to: Form
With the Form control:
Unlike in Visual FoxPro you can only control both, the vertical and the horizontal, scroll bar together. The size of the scrollable area does not depend on the form client area size, but on the position of the control. The right border of the right-most control defines the extension for the horizontal bar. The bottom border of the bottommost control defines the extension of the vertically scrollable area. Add an invisible control to the Form to adjust the scrollable area.