Skip to content

MovePageDown Method

Description

Moves the focus and/or selection down one page. Simulates pressing the PageDown key to navigate the grid rows.

Syntax

Public Sub MovePageDown( _
    Optional ByVal SelectBlock As Boolean = False, _
    Optional ByVal IgnoreSelection As Boolean = False _
)

Parameters

  • SelectBlock
    When True, simulates holding down the Shift key. This would be equivalent to pressing the PageDown key while holding the Shift key to navigate the rows. This will cause the currently selected row(s) to remain selected down to the row 1 page down. The row 1 page down will become both focused and selected.

When False, the current selection will be lost and the row 1 page down will become both focused and selected.

  • IgnoreSelection
    When True, simulates holding down the Control (Ctrl) key. This would be equivalent to pressing the PageDown key while holding the Control key to navigate the rows. This will cause the currently selected row(s) to remain selected while moving focus to the row 1 page down. The new focused row will not become selected.

Note: If SelectBlock is True, then IgnoreSelection will be ignored.

Remarks

Call the MovePageDown method if you want to move focus to a row, moving down by 1 page (a count of rows visible in a view equal to 1 page).

The MovePageDown method is used to move focus and/or selection down one page. It simulates pressing the PageDown key and can be combined with the Shift or Control simulated keys to select multiple rows or move the focus to the next page without selecting the row.

See Also

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.