property ScrollBar.Enabled as Boolean
Enables or disables the control.

TypeDescription
Boolean A Boolean expression that indicates whether the control is enabled or disabled.
By default, the Enabled property is True. Use the EnablePart or EnableParts property to specify a disabled part. If the Enabled property is False, all visible parts of the control are displayed in disabled state. Use the VisiblePart property to specify which parts are visible or hidden. Use the Background property to apply a visual effect on any part of the control in any state.