Skip to main content

TcxCustomGridTableController.MakeFocusedRecordVisible Method

Scrolls the View to make the focused record visible.

Declaration

procedure MakeFocusedRecordVisible;

Remarks

Use the MakeFocusedRecordVisible method to scroll the View contents to make the focused record visible. The focused record can be obtained from the FocusedRecord property.

To make a specific record visible, see the View’s MakeRecordVisible method.

There are also another methods to scroll the View contents:

  • The Scroll method allows you to simulate user actions with scrollbars

  • The TopRecordIndex property specifies the index of the topmost visible record and this enables scrolling

  • The LeftPos property (available in (Banded) Table Views) allows you scroll horizontally by a specific amount of pixels

These methods do not move focus when scrolling. To move focus to a specific item and record, see the FocusNextItem, FocusNextRecord methods and TcxCustomGridTableItem.Focused , TcxCustomGridRecord.Focused properties, for instance.

See Also