TTMSFNCDataGridRenderer.FocusedCell Property
Gets/sets the cell that currently has keyboard focus (the editing cursor position).
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Type: TTMSFNCDataGridCellCoord
Syntax
property FocusedCell: TTMSFNCDataGridCellCoord;
__property TTMSFNCDataGridCellCoord FocusedCell = {read=GetFocusedCell, write=SetFocusedCell};
Remarks
Setting it selects the cell with SelectCell, so the selection follows, the grid scrolls to the cell and the selection events fire. When the target cell is disabled, the next selectable column in that row receives focus instead. Returns (-1, -1) when no cell is focused.