[]
        
(Showing Draft Content)

C1.Win.List.ListBase.C1ListBase.ScrollCtl

ScrollCtl Method

ScrollCtl(int, int)

Scrolls the list data area by the specified number of rows and columns.

Declaration
public void ScrollCtl(int cols, int rows)
Parameters
Type Name Description
int cols

The number of rows to scroll.

int rows

The number of columns to scroll.

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 TopIndex properties, but these must be set independently.