Vcl.ComCtrls.TTreeNode.Focused
Delphi
property Focused: Boolean read GetFocused write SetFocused;
C++
__property bool Focused = {read=GetFocused, write=SetFocused, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTreeNode |
Description
Indicates whether the node appears to have focus.
Tree view nodes are not windowed controls and so can't receive input focus. However, they can be edited by the user when the tree view control has focus. When Focused is true, the node is surrounded by a standard focus rectangle and the user can edit the label. Use Focused to determine if a particular node in a tree view can currently be edited by the user.