Vcl.ComCtrls.TListItem.Focused

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Focused: Boolean index 2 read GetState write SetState;

C++

__property bool Focused = {read=GetState, write=SetState, index=2, nodefault};

Properties

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

Description

Indicates whether the list item has input focus.

Set Focused to true to allow the user to edit the Caption.

Note: Only one item in the view should have focus at a time. When setting Focused to true, be sure to set the Focused property of all other items in the list view to false. When the list item is Focused, it appears surrounded by a standard focus rectangle.

See Also