FMX.Grid.TGridModel.FindNextCell
Delphi
function FindNextCell(const RightToLeft, OnlyRow, Editing: Boolean; var ACol, ARow: Integer): Boolean;
C++
bool __fastcall FindNextCell(const bool RightToLeft, const bool OnlyRow, const bool Editing, int &ACol, int &ARow);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TGridModel |
Description
Fills ACol and ARow with the column number and the row number of the cell that can be selected after the current cell, and returns True on success of False if a cell cannot be found.
The search starts in the cell with the specified values of ACol and ARow.
The following arguments define requirements that the next cell must meet:
RightToLeftdetermines whether the search for the next cell must go from left to right (False) or from right to left.OnlyRowdetermines whether the next cell may be in a different column (False) or not (True).Editingdetermines whether the next cell can be a read-only cell (False) or must be editable (True).