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 control used for cell editing. This value can be modified by the EditSetup event handler.
Class: EditSetupEventArgs
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public Control EditControl;
Public EditControl As Control
Defines the control used for cell editing. This value can be modified by the EditSetup event handler.
// make it visible and enable it textBox1.Enabled = true; textBox1.Visible = true; // off we go! textBox1.BringToFront(); textBox1.Focus(); e.EditControl = textBox1; } else if (e.Cell.ColumnIndex == 2) { // We use a combobox for column 2 comboBox1.Parent = sftTree1; comboBox1.Items.Clear(); comboBox1.Items.AddRange(new string[] { "Selection 1", "Selection 2", "Selection 3", "Selection 4", "Selection 5" }); comboBox1.Text = e.Cell.Text;
' make it visible and enable it textBox1.Enabled = True textBox1.Visible = True ' off we go! textBox1.BringToFront() textBox1.Focus() e.EditControl = textBox1 ElseIf e.Cell.ColumnIndex = 2 Then ' We use a combobox for column 2 comboBox1.Parent = sftTree1 comboBox1.Items.Clear() comboBox1.Items.AddRange(New String() {"Selection 1", "Selection 2", "Selection 3", "Selection 4", "Selection 5"})
See Also EditSetupEventArgs Class | Classes | SftTree/NET 2.0