SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines whether an item is selected.
Deprecated - Provided for compatibility with earlier versions only - Use Item.Selected instead
Get
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]; VARIANT_BOOL Boolean = object->GetSelected(long ItemIndex); |
C | HRESULT object->get_Selected(long ItemIndex, VARIANT_BOOL* Boolean); |
Put
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; void object->PutSelected(long ItemIndex, VARIANT_BOOL Boolean); |
C | HRESULT object->put_Selected(long ItemIndex, VARIANT_BOOL Boolean); |
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. |
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