ComponentOne True DBGrid Pro 8
Scroll Method

 

Scroll Method

This method scrolls the grid horizontally and vertically in a single operation.

Syntax

object.Scroll coloffset, rowoffset

Arguments

coloffset is a long integer denoting the number of columns to scroll and the direction in which to scroll them.

rowoffset is a long integer denoting the number of rows to scroll and the direction in which to scroll them.

Return Value

None

Remarks

Positive offsets scroll right and down. Negative offsets scroll left and up. Column offsets that are out of range cause a trappable error. Row offsets that are out of range scroll to the beginning or end of the database.

The same effect can be achieved by setting the LeftCol and FirstRow properties, but these must be set independently.

See Also

TDBGrid Control

TDBDropDown Control

 

 


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

Product Support Forum  |  Documentation Feedback