Vcl.ComCtrls.TCustomTreeView.Selections
Delphi
property Selections[Index: Integer]: TTreeNode read GetSelection;
C++
__property TTreeNode* Selections[int Index] = {read=GetSelection};
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTreeView |
Beschreibung
Gibt den ausgewählten Knoten an.
Selections gibt einen ausgewählten Knoten zurück. Die maximale Wert von Index ist SelectionCount-1. Wenn mehrere Knoten ausgewählt sind, ist Selections[0] die Primärauswahl. Dieser Knoten bildet den Ausgangspunkt einer Mehrfachauswahl, wenn die Eigenschaft MultiSelectStyle den Wert msShiftSelect enthält.