SftDirectory 2.5

SftDirectoryFolder Object (ISftDirectoryFolder Interface)

Softel vdm, Inc.

The SftDirectoryFolder object describes the attributes of one file or folder. The SftDirectoryFolder object can be accessed through the control's Folder property. A control has one SftDirectoryFolder object for each displayed file/folder.

Property/Method

Description

Attributes

Returns the file/folder's attributes.

Attributes2

Returns the file/folder's attributes.

BackColor

Defines the file/folder's background color.

Can

Tests whether the specified action is supported by the file/folder.

CheckBox

Defines the file/folder's checkbox status.

Collapse

Collapses the folder (hides child folders).

ContextMenu

Displays the context menu for this file/folder.

DateAccessed

Returns the date and time the file/folder was last accessed.

DateCreated

Returns the date and time the file/folder was created.

DateModified

Returns the date and time the file/folder was last modified.

Do

Performs the specified action.

DropTarget

Creates an IDropTarget interface for the file/folder.

Enabled

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

EvaluateSubFolderCheckBoxes

Updates the file/folder's checkbox based on all subfolders' checkboxes.

Expand

Expands the folder (shows child folders).

Expandable

Returns whether the folder is expandable.

Expanded

Returns whether the folder is expanded.

FileExt

Returns the real file's extension.

FileName

Returns the real file's name (without extension).

FirstSubfolder

Returns the folder's first subfolder or file.

Font

Returns the file/folder's font.

ForeColor

Defines the file/folder's foreground color.

GetImage

Retrieves the file/folder's image.

GetText

Retrieves the file/folder's text.

InfoTip

Returns the file/folder's info tip text.

IsFile

Returns whether the SftDirectoryFolder object represents a real file.

IsFolder

Returns whether the SftDirectoryFolder object represents a real folder.

IsLink

Returns whether the SftDirectoryFolder object represents a link.

ItemIDList

Returns the file/folder's absolute ITEMIDLIST.

ItemIDListShort

Returns the file/folder's relative ITEMIDLIST.

MakeCurrent

Makes the file/folder the currently selected file/folder.

MakeVisible

Makes the file/folder visible using vertical scrolling if needed.

Name

Defines the file/folder's name (including extension, if any).

Next

Returns the file/folder's next file/folder within the same parent folder.

Parent

Returns the file/folder's parent folder.

Path

Defines the file/folder's full path.

Picture

Defines the picture used for the file/folder.

Previous

Returns the file/folder's previous file/folder within the same parent folder.

Reload

Reloads the file/folder's contents.

Remove

Removes the file/folder.

Rename

Starts editing so the file/folder can be renamed.

Selected

Defines whether the file/folder is selected.

SetSubFolderCheckBoxes

Updates the subfolders' checkboxes.

SetText

Defines the file/folder's text.

ShellFolder

Returns the file/folder's IShellFolder interface.

ShellView

Creates an IShellView interface for the file/folder.

Tag

Defines the file/folder's application-defined Variant value.

Type

Returns the file/folder's type if available.

See Also  Object Hierarchy


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