SftDirectory 2.5

SftDirectoryFolder.CheckBox Property

Softel vdm, Inc.

Defines the file/folder's checkbox status.

Syntax       

Get

VB.NET

Value = object.CheckBox  As SftDirectoryCheckBoxValueConstants

VB

Value = object.CheckBox  As SftDirectoryCheckBoxValueConstants

C#.NET

SftDirectoryCheckBoxValueConstants Value = object.CheckBox;

VC++

enum SftDirectoryCheckBoxValueConstants Value = object->CheckBox;
enum SftDirectoryCheckBoxValueConstants Value = object->GetCheckBox();

C

HRESULT object->get_CheckBox(enum SftDirectoryCheckBoxValueConstants* Value);

Delphi

Value := object.CheckBox  : TOleEnum;

Put

VB.NET

object.CheckBox = Value  As SftDirectoryCheckBoxValueConstants

VB

object.CheckBox = Value  As SftDirectoryCheckBoxValueConstants

C#.NET

SftDirectoryCheckBoxValueConstants object.CheckBox = Value;

VC++

enum SftDirectoryCheckBoxValueConstants object->CheckBox = Value;
void object->PutCheckBox(enum SftDirectoryCheckBoxValueConstants Value);

C

HRESULT object->put_CheckBox(enum SftDirectoryCheckBoxValueConstants Value);

Delphi

object.CheckBox := Value  : TOleEnum;

object

A SftDirectoryFolder object.

Value

Defines the file/folder's checkbox status.

Value

Value

Display
without Themes

Display
with Themes

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.

Comments

The CheckBox property defines the file/folder's checkbox status.

Any checkbox can be clicked by the user, including disabled checkboxes.  The CheckBoxClicked event occurs for all checkbox states.

Checkboxes are only displayed if the ShowCheckBoxes property is suitably defined.

The SetSubFolderCheckBoxes method can be used to update the checkboxes of all subfolders.

The folder's EvaluateSubFolderCheckBoxes method can be used to update its checkbox status based on its subfolders' checkboxes.


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