Skip to main content

TcxCustomDataController.MakeRecordVisible(Integer) Method

Makes a record potentially visible by expanding the data group owning it.

Declaration

procedure MakeRecordVisible(ARecordIndex: Integer);

Parameters

Name Type
ARecordIndex Integer

Remarks

The MakeRecordVisible method makes the record specified by the ARecordIndex parameter potentially visible (visible by scrolling). When grouping is applied, the data controller locates and expands the data group owning the record. If the record is already potentially visible, MakeRecordVisible performs no action.

The record to display is addressed by the ARecordIndex parameter, which specifies the record index, i.e. its position within a data source.

You cannot use this method to make your record visible if it does not meet the current filter criteria. To test whether a record meets the filter criteria, see the FilteredIndexByRecordIndex property.

MakeRecordVisible does not move the focus to the record. To make a record visible and focused, use the FocusedRecordIndex property.

See Also