ComponentOne True DBGrid Pro 8
ScrollBars Property

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

Syntax

object.ScrollBars= value

Values

Design Time

Run Time

0 - None

dbgNone

1 - Horizontal

dbgHorizontal

2 - Vertical

dbgVertical

3 - Both

dbgBoth

4 - Automatic (default)

dbgAutomatic

Remarks

Read/Write at run time and design time.

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 grid contains multiple splits, then setting its ScrollBars property has the same effect as setting the ScrollBars property of each split individually.

See Also

TDBGrid Control

TDBDropDown Control

Split Object

 

 


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

Product Support Forum  |  Documentation Feedback