ComponentOne List 8.0 for ActiveX
Scroll Method (TDBCombo)

 

TDBCombo Reference> TDBCombo Methods> Scroll Method (TDBCombo)

Scroll Method (TDBCombo)

This method scrolls the control 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

Method applies to TDBList and TDBCombo controls.

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

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback