Back to Devexpress

TcxCustomVerticalGrid.FocusedRow Property

vcl-cxvgrid-dot-tcxcustomverticalgrid-bc8019da.md

latest862 B
Original Source

TcxCustomVerticalGrid.FocusedRow Property

Returns the focused row.

Declaration

delphi
property FocusedRow: TcxCustomRow read; write;

Property Value

Type
TcxCustomRow

Remarks

You can use the FocusedRow property to get the currently focused row. If no row is focused, the property returns nil.

You can also assign a row to the property to shift focus to it. Consider the following code:

delphi
type
  merWork: TcxDBMultiEditorRow;
//...
cxDBVerticalGrid.FocusedRow := merWork;

See Also

TcxCustomVerticalGrid.FocusRow

TcxCustomVerticalGrid Class

TcxCustomVerticalGrid Members

cxVGrid Unit