ScrollBars Property |
Top Previous Next |
Specifies whether a Form control has a scrollbar. Syntax Control.ScrollBars = nType Parameters nType Specifies the type of scrollbars for the control.
For a Form control, the following table lists settings for nType:
Remarks Applies to: Form Compatibility 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. |