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
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
SftTree/NET 2.0 - Tree Control
Defines whether a vertical splitter bar is present.
Get
| VB.NET | Boolean = object.Visible As Boolean |
| VB | Boolean = object.Visible As Boolean |
| C#.NET | bool Boolean = object.Visible; |
| VC++ | VARIANT_BOOL Boolean = object->Visible; VARIANT_BOOL Boolean = object->GetVisible(); |
| C | HRESULT object->get_Visible(VARIANT_BOOL* Boolean); |
Put
| VB.NET | object.Visible = Boolean As Boolean |
| VB | object.Visible = Boolean As Boolean |
| C#.NET | bool object.Visible = Boolean; |
| VC++ | VARIANT_BOOL object->Visible = Boolean; void object->PutVisible(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_Visible(VARIANT_BOOL Boolean); |
object
A SftTreeSplitter object.
Boolean
Defines whether a vertical splitter bar is present.
| Boolean | Description |
|---|---|
| True | A vertical splitter bar is present. |
| False | No vertical splitter bar is present. |
The Visible property defines whether a vertical splitter bar is present.
A splitter bar is only available if two or more columns have been defined (see ColumnsObj.Count property).
The Splitter.Column property is used to define the position of the splitter bar.
The Splitter.Width and Splitter.Offset properties can be used to define the size and location of the splitter bar.
This property is read/only at run-time. Changing the Visible property at run-time will clear the tree control contents.
End Sub
Private Sub AxSftTree1_EditEnding(ByVal sender As Object, ByVal e As AxSftTreeLib80._DSftTreeEvents_EditEndingEvent) Handles AxSftTree1.EditEnding
' Save the new cell contents
If e.saveInput Then
AxSftTree1.get_Cell(e.editIndex, e.editCol).Text = EditControl.Text
End If
Dim ctrl As Control = e.vData
ctrl.Visible = False
ctrl.Enabled = False
End Sub
End Class
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
EndProperty
BeginProperty Splitter {9EBAA94A-293D-44FA-9989-08F078763A1F}
SplitColumn = 1
Object.Visible = 1
OffsetPix = 87
WidthPix = 3
EndProperty
BeginProperty Column(0) {9EBAA938-293D-44FA-9989-08F078763A1F}
BackColor = -1
CellHAlign = 0
CellMultiline = 0
}
}
private void axSftTree1_EditEnding(object sender, AxSftTreeLib80._DSftTreeEvents_EditEndingEvent e) {
// Save the new cell contents
if (e.saveInput)
axSftTree1.get_Cell(e.editIndex, e.editCol).Text = EditControl.Text;
Control ctrl = (Control) e.vData;
ctrl.Visible = false;
ctrl.Enabled = false;
}
}
}
See Also SftTreeSplitter Object | Object Hierarchy
