|
|
|
SftTree.Selected Property |
Defines whether an item is selected.
Deprecated - Provided for compatibility with earlier versions only - Use Item.Selected instead
Syntax
VB.NET |
Boolean = object.get_Selected(ByVal ItemIndex As Integer) As Boolean |
||
VB |
Boolean = object.Selected(ByVal ItemIndex As Long) As Boolean |
||
C#.NET |
bool Boolean = object.get_Selected(int ItemIndex); |
||
VC++ |
VARIANT_BOOL Boolean = object->Selected[long ItemIndex];
|
||
C |
HRESULT object->get_Selected(long ItemIndex, VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.Selected[ItemIndex : Integer] : WordBool; |
||
VB.NET |
object.set_Selected(ByVal ItemIndex As Integer, ByVal Boolean As Boolean) |
||
VB |
object.Selected(ByVal ItemIndex As Long) = Boolean As Boolean |
||
C#.NET |
void object.set_Selected(int ItemIndex, bool Boolean); |
||
VC++ |
VARIANT_BOOL object->Selected[long ItemIndex] = Boolean;
|
||
C |
HRESULT object->put_Selected(long ItemIndex, VARIANT_BOOL Boolean); |
||
Delphi |
object.Selected[ItemIndex : Integer] := Boolean : WordBool; |
object
A SftTree object.
ItemIndex
The zero-based item index.
Boolean
Defines whether the item is selected.
Boolean |
Description |
True |
The item is selected. |
False |
The item is not selected. |
Comments
Deprecated - Provided for compatibility with earlier versions only - Use Item.Selected instead
The Selected property defines whether an item is selected.
The Items.SelectRange method can be used to select a range of items at one time. Items can be selected individually using the Item.Selected property.
The Items.Selection property returns the index of one or more selected items. The Items.SelectionGroupStart and Items.SelectionGroupEnd properties are used to retrieve groups of selected items.
See Also SftTree Object | Object Hierarchy