Skip to main content
Table of Contents

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

FMX.TMSFNCDataGridRenderer.hppPascalC++
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.