|
|
|
SftDirectory.HeaderClicked Event |
The left mouse button is pressed on the header.
Syntax
VB.NET |
Private Sub object_HeaderClicked(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.HeaderClicked |
||
VB |
Private Sub object_HeaderClicked(ByVal ColumnContents As SftDirectoryContentsConstants) |
||
C#.NET |
void object_HeaderClicked(object sender, EventArgumentType e); |
||
VC++ |
void OnHeaderClickedobject(enum SftDirectoryContentsConstants ColumnContents); |
||
C |
HRESULT OnHeaderClickedobject(enum SftDirectoryContentsConstants ColumnContents); |
||
Delphi |
procedure objectHeaderClicked(Sender: TObject; ColumnContents : TOleEnum); |
object
A SftDirectory object.
ColumnContents
Describes the column whose header was clicked.
ColumnContents |
Value |
Description |
contentsSftDirectoryName |
0 |
Name - The folder name. |
contentsSftDirectorySize |
1 |
Size - The folder size. |
contentsSftDirectoryType |
2 |
Type - The folder type. |
contentsSftDirectoryDateMod |
3 |
Date Modified - The folder's last modification date. |
contentsSftDirectoryDateCre |
4 |
Date Created - The folder's creation date. |
contentsSftDirectoryDateAcc |
5 |
Date Accessed - The folder's last access date. |
contentsSftDirectoryAttributes |
6 |
Attributes - The folder's attributes, if available. |
contentsSftDirectoryUser1 - |
51 - 59 |
User defined 1 - 9. |
Comments
The HeaderClicked event occurs when the left mouse button is pressed on the header.
If the Headers.Sortable property is set to True, column sorting also takes place when this event occurs.