Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.HeaderDropDownClicked Event

The left mouse button is pressed on the header's dropdown/filter button.

Syntax

VB.NETPrivate Sub object_HeaderDropDownClicked(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.HeaderDropDownClicked
VBPrivate Sub object_HeaderDropDownClicked(ByVal ColumnContents As SftDirectoryContentsConstants)
C#.NETvoid object_HeaderDropDownClicked(object sender, EventArgumentType e);
VC++void OnHeaderDropDownClickedobject(enum SftDirectoryContentsConstants ColumnContents);
CHRESULT OnHeaderDropDownClickedobject(enum SftDirectoryContentsConstants ColumnContents);

object

A SftDirectory object.

ColumnContents

Describes the column whose dropdown/filter button was clicked.

ColumnContentsValueDescription
contentsSftDirectoryName0Name - The folder name.
contentsSftDirectorySize1Size - The folder size.
contentsSftDirectoryType2Type - The folder type.
contentsSftDirectoryDateMod3Date Modified - The folder's last modification date.
contentsSftDirectoryDateCre4Date Created - The folder's creation date.
contentsSftDirectoryDateAcc5Date Accessed - The folder's last access date.
contentsSftDirectoryAttributes6Attributes - The folder's attributes, if available.
contentsSftDirectoryUser1 - contentsSftDirectoryUser951 - 59User defined 1 - 9.

Comments

The HeaderDropDownClicked event occurs when the left mouse button is pressed on the header's dropdown/filter button.

There is no default response to this event. An application could implement a custom popup menu or form to allow the user to select/enter information. The Column.GetButtonPosition method can be used to retrieve the location of the dropdown/filter button.

If the HeaderDropDownClicked event is used to display a context sensitive menu (popup menu), the CancelMode method must be used before displaying the context menu.

See Also SftDirectory Object | Object Hierarchy


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