[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Returns the relative cell coordinates for the next cell in the grid navigation order.
Source position: grids.pas line 1096
protected function TCustomGrid.GetDeltaMoveNext( |
const Inverse: Boolean; |
var ACol: Integer; |
var ARow: Integer; |
const AAutoAdvance: TAutoAdvance |
):Boolean; virtual; |
Inverse |
|
True is the navigation order is reversed. |
ACol |
|
Column number after the navigation request. |
ARow |
|
Column number after the navigation request. |
AAutoAdvance |
|
Direction of movement for the request. |
True if the calculated cell for the movement is selected in the grid control.
AAutoAdvance contains the navigation direction requested in the method. When it is set to aaNone, the values in ACol and ARow always contain 0 (zero) indicating no relative movement.
When Inverse is set to True, the cell navigation order in AAutoAdvance is reversed. When row selection is enabled in the grid Options (using goRowSelect), ACol is set to the first non-fixed column in the grid. Otherwise, it is set to the last column in the grid. Other auto-advance values are handled as follows:
The next cell for the navigation order is calculated and returned in the ACol and ARow arguments. The return value is True if the values in ACol and ARow were successfully selected as the current cell in the grid.
Version 4.0 | Generated 2025-05-03 | Home |