Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.OpenFiles Property

Defines whether files are opened when double-clicked.

Syntax

Get

VB.NETBoolean = object.OpenFiles As Boolean
VBBoolean = object.OpenFiles As Boolean
C#.NETbool Boolean = object.OpenFiles;
VC++VARIANT_BOOL Boolean = object->OpenFiles;
VARIANT_BOOL Boolean = object->GetOpenFiles();
CHRESULT object->get_OpenFiles(VARIANT_BOOL* Boolean);

Put

VB.NETobject.OpenFiles = Boolean As Boolean
VBobject.OpenFiles = Boolean As Boolean
C#.NETbool object.OpenFiles = Boolean;
VC++VARIANT_BOOL object->OpenFiles = Boolean;
void object->PutOpenFiles(VARIANT_BOOL Boolean);
CHRESULT object->put_OpenFiles(VARIANT_BOOL Boolean);

object

A SftDirectory object.

Boolean

Defines whether files are opened when double-clicked.

BooleanDescription
TrueIf a file/folder is double-clicked, it is opened for execution, if possible. The action associated with "open" is performed on the file/folder. The "open" action is not processed or implemented by SftDirectory, it is simply passed to the Windows Shell or Shell extensions. The Opening event takes place to allow an application to open the file, if desired.
FalseIf a file/folder is double-clicked, no action takes place. The Opening event takes place to allow an application to open the file/folder, if desired.

Comments

The OpenFiles property defines whether files are opened when double-clicked.

If a file/folder is double-clicked, it is expanded or collapsed instead.

The file is opened only after the Opening event has been called. If the Opening event sets Allow to False, the file is not opened.

See Also SftDirectory Object | Object Hierarchy


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