|
|
|
SftDirectoryFolder.SetSubFolderCheckBoxes Method |
Updates the subfolders' checkboxes.
Syntax
VB.NET |
object.SetSubFolderCheckBoxes(ByVal Value As SftDirectoryCheckBoxValueConstants, ByVal Depth As Boolean) |
||
VB |
object.SetSubFolderCheckBoxes(ByVal Value As SftDirectoryCheckBoxValueConstants, ByVal Depth As Boolean) |
||
C#.NET |
void object.SetSubFolderCheckBoxes(SftDirectoryCheckBoxValueConstants Value, bool Depth); |
||
VC++ |
HRESULT object->SetSubFolderCheckBoxes(enum SftDirectoryCheckBoxValueConstants Value, VARIANT_BOOL Depth); |
||
C |
HRESULT object->raw_SetSubFolderCheckBoxes(enum SftDirectoryCheckBoxValueConstants Value, VARIANT_BOOL Depth); |
||
Delphi |
procedure object.SetSubFolderCheckBoxes(Value : TOleEnum, Depth : WordBool); |
object
A SftDirectoryFolder object.
Value
Defines the new checkbox status.
Value |
Value |
Description |
0 |
None - The checkbox is removed. |
|
1 |
Not selected - The checkbox option is enabled and not selected. |
|
2 |
Selected - The checkbox option is enabled and selected. |
|
3 |
Unknown - The checkbox option is enabled and unknown. |
|
4 |
Not selected, disabled - The checkbox option is disabled and not selected. |
|
5 |
Selected, disabled - The checkbox option is disabled and selected. |
|
6 |
Unknown, disabled - The checkbox option is disabled and unknown. |
Depth
Defines the depth of subfolders to be updated.
Depth |
Description |
True |
All subfolders (and their subfolders) are updated recursively with the new checkbox status Value. |
False |
Only immediate folders owned by the current folder are updated with the new checkbox status Value. |
Comments
The SetSubFolderCheckBoxes method updates the subfolders' checkboxes.
The EvaluateSubFolderCheckBoxes method can be used to update a folder's checkbox based on all subfolders' checkboxes.