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 the area where a mouse click occurred.
Class: (none)
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public enum ItemClickAreaEnum;
Public Enum ItemClickAreaEnum
Name | Description |
---|---|
EmptyArea | The mouse click occurred in the empty area of the item area. |
ExpandCollapseButton | The mouse click occurred in an expand/collapse button. |
ExpandCollapseButtonAll | The mouse click occurred in an expand/collapse button (requesting full expansion of all child items and their dependents). |
RowHeader | The mouse click occurred in a row header. |
Item | The mouse click occurred in an item (not in a cell). |
Hierarchy | The mouse click occurred in the hierarchy area. |
ItemImage | The mouse click occurred on an item image. |
CellSel | The mouse click occurred within the selectable area of a cell. |
Cell | The mouse click occurred within a cell. |
Defines the area where a mouse click occurred.
} void sftTree1_ShowToolTip(object sender, ToolTipEventArgs e) { ItemClass item = e.Cell.OwningItem; e.ToolTipText = item.TagString; } private void sftTree1_ItemClick(object sender, Softelvdm.SftTreeNET.ItemClickEventArgs e) { if (e.MouseEv.Button == MouseButtons.Left && e.Area == ItemClickAreaEnum.CellSel) { ClickCategory(e.Item); } } private void sftTree1_ItemDoubleClick(object sender, ItemClickEventArgs e) { if (e.MouseEv.Button == MouseButtons.Left && e.Area == ItemClickAreaEnum.CellSel) { ClickCategory(e.Item);
End If item.ScrollIntoView() Else ' selected an item End If End Sub Private Sub sftTree1_ItemClick(ByVal sender As Object, ByVal e As Softelvdm.SftTreeNET.ItemClickEventArgs) Handles sftTree1.ItemClick If e.MouseEv.Button = Windows.Forms.MouseButtons.Left And e.Area = ItemClickAreaEnum.CellSel Then ClickCategory(e.Item) End If End Sub Private Sub sftTree1_ItemDoubleClick(ByVal sender As Object, ByVal e As Softelvdm.SftTreeNET.ItemClickEventArgs) Handles sftTree1.ItemDoubleClick If e.MouseEv.Button = Windows.Forms.MouseButtons.Left And e.Area = ItemClickAreaEnum.CellSel Then ClickCategory(e.Item)
See Also | Classes | SftTree/NET 2.0