ComponentOne List 8.0 for ActiveX
ScrollBars Property

 

ScrollBars Property

This property returns or sets a value indicating whether a control or split has horizontal or vertical scroll bars.

Syntax

object.ScrollBars= value

Remarks

Read/Write at run time and design time.

Property applies to TDBList and TDBCombo controls, Split object.

Values

Design Time

Run Time

0 - None

dblNone

1 - Horizontal

dblHorizontal

2 - Vertical

dblVertical

3 - Both

dblBoth

4 - Automatic (default)

dblAutomatic

The default setting for this property causes horizontal and/or vertical scroll bars to be displayed only if the object's contents extend beyond its borders.

If a control contains multiple splits, then setting its ScrollBars property has the same effect as setting the ScrollBars property of each split individually.

See Also

TDBList and TDBCombo Controls

Split Object, Splits Collection

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback