Skip to main content

TcxCustomDataController.CheckFocusedSelected Method

When selection of multiple records is enabled, this method selects the focused record.

Declaration

procedure CheckFocusedSelected;

Remarks

The CheckFocusedSelected method is in effect only when selection of multiple records is enabled via the MultiSelect property.

In this mode, CheckFocusedSelected unselects all currently selected records and then sets selection to the focused record. For instance, moving focus by the FocusedRowIndex property or by the TDataSet.Locate method does not affect the rows selected. To select the newly focused row, call CheckFocusedSelected.

Use the ChangeRowSelection method to change the selection state of a particular row.

See Also