SftDirectory 2.5

SftDirectoryFolder.SetSubFolderCheckBoxes Method

Softel vdm, Inc.

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

checkboxSftDirectoryNone

0

None - The checkbox is removed.

checkboxSftDirectoryNo

1

Not selected - The checkbox option is enabled and not selected.

checkboxSftDirectoryYes

2

Selected - The checkbox option is enabled and selected.

checkboxSftDirectoryUnknown

3

Unknown - The checkbox option is enabled and unknown.

checkboxSftDirectoryNoDisabled

4

Not selected, disabled - The checkbox option is disabled and not selected.

checkboxSftDirectoryYesDisabled

5

Selected, disabled - The checkbox option is disabled and selected.

checkboxSftDirectoryUnknownDisabled

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.


Feedback / comments / error reports for this topic
© 2003, 2008 - Softel vdm, Inc. - www.softelvdm.com