Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectoryFolder.Enabled Property

Defines the file/folder's enabled/disabled status.

Syntax

Get

VB.NETBoolean = object.Enabled As Boolean
VBBoolean = object.Enabled As Boolean
C#.NETbool Boolean = object.Enabled;
VC++VARIANT_BOOL Boolean = object->Enabled;
VARIANT_BOOL Boolean = object->GetEnabled();
CHRESULT object->get_Enabled(VARIANT_BOOL* Boolean);

Put

VB.NETobject.Enabled = Boolean As Boolean
VBobject.Enabled = Boolean As Boolean
C#.NETbool object.Enabled = Boolean;
VC++VARIANT_BOOL object->Enabled = Boolean;
void object->PutEnabled(VARIANT_BOOL Boolean);
CHRESULT object->put_Enabled(VARIANT_BOOL Boolean);

object

A SftDirectoryFolder object.

Boolean

Defines the file/folder's enabled/disabled status.

BooleanDescription
TrueThe file/folder is enabled.
FalseThe file/folder is disabled.

Comments

The Enabled property defines the file/folder's enabled/disabled status.

When enabling or disabling a folder, all its subfolders automatically receive the same enabled/disabled status.

A disabled file/folder is rendered in a grayed fashion (text only), but otherwise behaves identically to an enabled file/folder. Any "disabled" behavior must be implemented by the application.

See Also SftDirectoryFolder Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.