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
Defines in which area of the control the mouse click occurred.
Class: ItemClickEventArgs
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public readonly UsageLocationEnum Usage;
Public ReadOnly Usage As UsageLocationEnum
Defines in which area of the control the mouse click occurred.
sftTree1.Headers[0, column].SortStatus = fAscending ? SortStatusEnum.Ascending : SortStatusEnum.Descending; m_sortedColumn = column; return fAscending; } private void SortData(ItemClickEventArgs e) { // sort the column last clicked if (e.Usage != UsageLocationEnum.header) // we are not interested if the click wasn't in the header return; if (e.Area != ItemClickAreaEnum.Cell) return; bool fAscending = SetSorted(e.Cell.ColumnIndex); switch (e.Cell.ColumnIndex) {
sftTree1.Headers(0, column).SortStatus = SortStatusEnum.Descending End If m_sortedColumn = column Return fAscending End Function Private Sub SortData(ByVal e As ItemClickEventArgs) ' sort the column last clicked If e.Usage <> UsageLocationEnum.header Then ' we are not interested if the click wasn't in the header Return End If If e.Area <> ItemClickAreaEnum.Cell Then Return End If Dim fAscending As Boolean = SetSorted(e.Cell.ColumnIndex)
See Also ItemClickEventArgs Class | Classes | SftTree/NET 2.0