DisableNoScroll Property (AComboBox)

Returns and sets a value that determines whether the object shows a scroll bar.

Syntax

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.

Where

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.

Comments

This property can be set at design time as well as at run time.

Example

The following statement returns whether the AComboBox shows a scroll bar:

bcb1DisableNoScroll = cb1.DisableNoScroll

The following statement sets to True:

cb1.DisableNoScroll=True

Applies to

AComboBox