TcxCustomTreeList.Select(TcxTreeListNode,TShiftState) Method
In This Article
Selects the specified nodes.
#Declaration
Delphi
procedure Select(Node: TcxTreeListNode; ShiftState: TShiftState = []); overload; virtual;
#Parameters
Name | Type | Description |
---|---|---|
Node | Tcx |
The selected tree node. |
Shift |
TShift |
Indicates the state of the modifier keys, the mouse buttons, or the touch devices. Refer to the table below for detailed information. |
#Remarks
Call this procedure to emulate user input. The following table lists the supported shift state flags that you can pass as the optional ShiftState parameter:
Shift |
Description |
---|---|
ss |
A Select procedure call selects a set of adjacent nodes from the currently selected node to the specified node (Node). |
ss |
A Select procedure call adds a single node to the current selection. |
Note
A Select procedure call has no effect if one of the following conditions is met:
- The Options
Selection. property is set to False.Multi Select - The Allow parameter is set to False in an On
Can or OnFocus Node Can event handler.Select Node
See Also