Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGridTableController.MakeFocusedItemVisible Method

In This Article

Brings the focused data item into view.

#Declaration

Delphi
procedure MakeFocusedItemVisible;

#Remarks

You can call the MakeFocusedItemVisible procedure to make the focused item (the FocusedItem property) visible. The method scrolls the View until the item cell is entirely visible.

To make a specific item visible, call the MakeItemVisible procedure. The following methods also allow you to scroll a grid View:

  • 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. If you need to move focus to a specific item and record, call the FocusNextItem and FocusNextRecord procedures or use TcxCustomGridTableItem.Focused and TcxCustomGridRecord.Focused properties.

See Also