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 which cell owns the part or null/Nothing if no cell is associated with the part.
Class: PartEventArgs
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public readonly CellClass Cell;
Public ReadOnly Cell As CellClass
Defines which cell owns the part or null/Nothing if no cell is associated with the part.
// item's selection state. private void sftTree1_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Space) { e.Handled = true; } } private void sftTree1_CheckBoxClicked(object sender, PartEventArgs e) { Debug.Print("The checkbox labeled " + e.Cell.Text + " was clicked."); } private void sftTree1_RadioButtonClicked(object sender, PartEventArgs e) { Debug.Print("The radiobutton labeled " + e.Cell.Text + " was clicked."); } }
Private Sub SftTree1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles SftTree1.KeyDown If e.KeyCode = Keys.Space Then e.Handled = True End If End Sub Private Sub SftTree1_CheckBoxClicked(ByVal sender As Object, ByVal e As Softelvdm.SftTreeNET.PartEventArgs) Handles SftTree1.CheckBoxClicked Debug.Print("The checkbox labeled " + e.Cell.Text + " was clicked.") End Sub Private Sub SftTree1_RadioButtonClicked(ByVal sender As Object, ByVal e As Softelvdm.SftTreeNET.PartEventArgs) Handles SftTree1.RadioButtonClicked Debug.Print("The radiobutton labeled " + e.Cell.Text + " was clicked.") End Sub ' This is a small helper routine to show all properties and fields of an object Private Sub DumpValues(ByVal o As Object)
See Also PartEventArgs Class | Classes | SftTree/NET 2.0