ComponentOne List for WinForms
In This Topic
    Mouse Navigation
    In This Topic

    When the user clicks a row, that row becomes current, and the RowChange event is fired.

    The user can also use the mouse to manipulate the list's scroll bars, bringing cells that lie outside the list's display area into view. The vertical scroll bar governs rows; the horizontal scroll bar governs columns. The HScrollBar property controls whether the horizontal scroll bars are displayed, while the VScrollBar property controls the vertical scroll bar.

    Scrolling always occurs in discrete cell units; the user cannot scroll on a per-pixel basis in either direction. Note that the scroll bars do not change the current cell; therefore, the current cell may not always be visible.

    To respond to vertical scrolling operations in code, use the TopIndexChange event. To respond to horizontal scrolling operations in code, use the LeftColChange event.