|
|
|
SftDirectoryFolder.Selected Property |
Defines whether the file/folder is selected.
Syntax
VB.NET |
Boolean = object.Selected As Boolean |
||
VB |
Boolean = object.Selected As Boolean |
||
C#.NET |
bool Boolean = object.Selected; |
||
VC++ |
VARIANT_BOOL Boolean = object->Selected;
|
||
C |
HRESULT object->get_Selected(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.Selected : WordBool; |
||
VB.NET |
object.Selected = Boolean As Boolean |
||
VB |
object.Selected = Boolean As Boolean |
||
C#.NET |
bool object.Selected = Boolean; |
||
VC++ |
VARIANT_BOOL object->Selected = Boolean;
|
||
C |
HRESULT object->put_Selected(VARIANT_BOOL Boolean); |
||
Delphi |
object.Selected := Boolean : WordBool; |
object
A SftDirectoryFolder object.
Boolean
Defines whether the file/folder is selected.
Boolean |
Description |
True |
The folder is selected. |
False |
The folder is not selected. |
Comments
The Selected property defines whether the file/folder is selected.
If only single selection is supported by the current control style (see ControlStyle property), selecting a file/folder using the Selected property will automatically deselect all other files/folders, otherwise selections made using the Selected property are cumulative.
The SelectionCount property contains the number of currently selected files/folders. The selected files/folders can be retrieved using the Selection property.
The MultiSelect property defines whether only one or multiple files/folders can be selected at a time. Combo box style controls (see ControlStyle property) support single selection only.
All selections can be cleared using the ClearSelection property.
The MakeVisible method can be used to make the file/folder visible using vertical scrolling if needed.