Returns and sets a value that determines whether the object shows a scroll bar.
Object.DisableNoScroll [ =bDisableNoScroll ]
The DisableNoScroll property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AComboBox |
AComboBox control |
|
bDisableNoScroll |
Bool |
A boolean expression that specifies whether the object will display a scroll bar. |
bDisableNoScroll can be one of the following:
|
Value |
Description |
|
True |
Displays a disabled vertical scroll bar when the box does not contain enough items to scroll. Normally, the scroll bar is hidden when the AComboBox does not contain enough items to scroll. |
|
False * |
Displays a scroll bar on the control. |
This property can be set at design time as well as at run time.
The following statement returns whether the AComboBox shows a scroll bar:
bcb1DisableNoScroll = cb1.DisableNoScroll
The following statement sets to True:
cb1.DisableNoScroll=True