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
SftTree/NET includes sample code for both C# and VB.
All sample code given in the Example section of a property, method or event applies to C# and Visual Basic unless noted. The code samples usually assume that a tree control has been added to a form. All relevant properties, even properties that could be set at design-time using the Properties window, are set at run-time to show any dependencies.
The following samples can be found in the folder C:\Program Files (x86)\Softelvdm\SftTree NET 2.0\Samples:
C# Sample | VB Sample | Description |
---|---|---|
DemoSample | DemoSample | Shows an overview of the tree control's features. |
DragDrop | DragDrop | Demonstrates copying/moving items within the same and between two tree controls using drag & drop. |
EventViewer | EventViewer | Inspects events generated by the tree control. |
ExploreAssembly | ExploreAssembly | Shows dynamic loading ("load as you go") of the tree control. |
XMLProps | XMLProps | Shows options using checkboxes and radiobuttons, created using an XML document. |
These samples are referenced throughout our help topics:
C# Sample | VB Sample | Description |
---|---|---|
MergeSample1 | MergeSample1 | Demonstrates vertical and horizontal cell merging (MergeStyle = EmptyCells), cell images, rotated text in row headers and column headers. |
MergeSample2 | MergeSample2 | Demonstrates vertical and horizontal cell merging (MergeStyle = SameText). |
EditSample1 | EditSample1 | Demonstrates cell editing with edit controls and combo boxes. |
CategorySample1 | CategorySample1 | Shows how to implement a simple toolbox-like category list. |
DragDropSample1 | DragDropSample1 | Demonstrates drag & drop within the tree control, dragging data to a textbox and dropping data on the tree control from File Explorer. |
PartsSample1 | PartsSample1 | Demonstrates how to add the various parts to cells, like checkboxes, images, progressbars, buttons, dropdown buttons, how to handle events and cell orientation. |
PartsSample2 | PartsSample2 | Demonstrates how to add items and child items, with checkboxes and radiobuttons. |
PartsSample3 | PartsSample3 | Demonstrates cell images, cell tags, column reordering, sorting and sorting indicators in column headers. |