TcxCustomGridTableView.OnFocusedRecordChanged Event
Occurs after focus is moved to a different record.
Declaration
property OnFocusedRecordChanged: TcxGridFocusedRecordChangedEvent read; write;
Remarks
Use the OnFocusedRecordChanged event handler to execute code when a record receives focus. The Sender parameter identifies the View and the APrevFocusedRecord and AFocusedRecord parameters identify the previously and currently focused records, respectively.
If the new item row (the row used to insert new records) is involved in focus movement, the ANewItemRecordFocusingChanged parameter returns True. When the new item record receives focus, the AFocusedRecord parameter returns nil. When the new item record loses focus, the APrevFocusedRecord parameter returns nil.
See Also