Moves the selected cell or extends a selection using the specified column and row values.
Source position: grids.pas line 1130
protected function TCustomGrid.MoveExtend( |
Relative: Boolean; |
DCol: Integer; |
DRow: Integer; |
ForceFullyVisible: Boolean = True |
):Boolean; |
Relative |
|
True if the selection is extended by the relative number of columns and rows. False to move the selection to the specified cell coordinates. |
DCol |
|
Column number for the selection, or the delta when a selection is extended. |
DRow |
|
Row number for the selection, or the delta when a selection is extended. |
ForceFullyVisible |
|
True if the cell in DCol and DRow must be fully visible after the selection change. |
True if the selection was moved or extended in the method.
Calls TryMoveSelection to perform the selection change using the specified arguments. No actions are performed in the method when:
|
Tries to move the selection by the specified offset; returns True if successful. |
|
|
Determines whether the specified cell can be selected in the grid control. |
|
|
Determines if all columns or all rows in the grid are fixed. |
|
|
Column index for the selected grid cell. |
|
|
Number of columns in the grid. |
|
|
Row number for the selected grid cell. |
|
|
Number of rows in the grid. |