Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

Columns

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

Columns

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:

NameDescription
contentsSftDirectoryNameName - The file/folder name.
contentsSftDirectorySizeSize - The file/folder size, generally in KB (Kilo Bytes) or MB (Mega Bytes), if available.
contentsSftDirectoryTypeType - The file/folder type. The type string is provided by the Windows Shell or Shell extensions, if available.
contentsSftDirectoryDateModDate Modified - The file/folder's last modification date, if available.
contentsSftDirectoryDateCreDate Created - The file/folder's creation date, if available.
contentsSftDirectoryDateAccDate Accessed - The file/folder's last access date, if available.
contentsSftDirectoryAttributesAttributes - 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).


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