SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
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 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).