Vcl.ComCtrls.TCustomListView.ItemFocused

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ItemFocused: TListItem read GetFocused write SetFocused;

C++

__property TListItem* ItemFocused = {read=GetFocused, write=SetFocused};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

Description

Indicates which item, if any, has focus.

Read ItemFocused to determine which item, if any, can be edited by the user. Set ItemFocused to set focus to an item in the list. When an item has focus, it appears surrounded by a standard focus rectangle. If no item has focus, ItemFocused returns nil (Delphi) or NULL (C++). Only one item can have focus at a time.

See Also