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
For internal use only - Not intended for direct use by applications
Class: ItemClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public bool _CreateChildren { get; set; }
Public Property _CreateChildren As Boolean
For internal use only - Not intended for direct use by applications
if (item.Expanded)
item.Collapse(CollapseStyleEnum.SaveCurrent);
else {
if (item.HasChildren)
item.Expand(ExpandStyleEnum.RestoreLast);
else {
sftTree1.Initializing = true;
if (item.TagString == "Single") {
item._CreateChildren = true;
ListInfo(item.Children, item.TagObject);
} else {
foreach (object o in item.TagObjects) {
ItemClass newItem = item.Add(o.ToString());
newItem.TagObject = o;
newItem.ExpandCollapseButton = ExpandCollapseButtonStyleEnum.Show;
newItem.TagString = "Single";
If item.Expanded Then
item.Collapse(CollapseStyleEnum.SaveCurrent)
Else
If (item.HasChildren) Then
item.Expand(ExpandStyleEnum.RestoreLast)
Else
sftTree1.Initializing = True
If item.TagString = "Single" Then
item._CreateChildren = True
ListInfo(item.Children, item.TagObject)
Else
For Each o As Object In item.TagObjects
Dim newItem As ItemClass = item.Add(o.ToString())
newItem.TagObject = o
newItem.ExpandCollapseButton = ExpandCollapseButtonStyleEnum.Show
newItem.TagString = "Single"See Also ItemClass Class | Classes | SftTree/NET 2.0
