SftDirectory 2.5

Columns

Softel vdm, Inc.

A SftDirectory control can display up to 20 columns of data for each file/folder.

The ColumnCount property is used to define the number of desired columns.  Each column's Contents property, accessible using the ColumnEntry property, defines the type of data displayed.  SftDirectory offers a number of predefined content types:

Name

Description

contentsSftDirectoryName

Name - The file/folder name.

contentsSftDirectorySize

Size - The file/folder size, generally in KB (Kilo Bytes) or MB (Mega Bytes), if available.

contentsSftDirectoryType

Type - The file/folder type.  The type string is provided by the Windows Shell or Shell extensions, if available.

contentsSftDirectoryDateMod

Date Modified - The file/folder's last modification date, if available.

contentsSftDirectoryDateCre

Date Created - The file/folder's creation date, if available.

contentsSftDirectoryDateAcc

Date Accessed - The file/folder's last access date, if available.

contentsSftDirectoryAttributes

Attributes - The file/folder's attributes, if available.  A = ready to archive, H = hidden file/folder, C = compressed, E = encrypted.

In addition, user-defined contents are available using contentsSftDirectoryUser1 through contentsSftDirectoryUser9.

Multiple columns and the associated column headers are available for all control styles.

The AutoSizeColumns property can be used to insure that the columns are automatically resized optimally when the contents are loaded.  Column widths and minimum widths can be defined using each column's Width property and MinWidth property. The UpdateHorizontalScrollbar method is used to recalculate the horizontal scrolling extent for optimal horizontal scrolling.

The Column property provides access to a SftDirectoryColumn object based on the column's contents.  The ColumnEntry property is used to access columns based on their column index.

Sorting

Sorting using the Sort method or using the Headers.Sortable property is available for all control styles.  If enabled, the end-user can click on a column header to sort the column's contents in ascending fashion.  Repeatedly clicking on the same column header alternates the column's collating sequence between ascending and descending.  The column header receives an indicator image, showing the current sort direction ( = ascending or = descending). 


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