HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

Visible Property, SftTreeSplitter Object

Defines whether a vertical splitter bar is present.

Syntax

Get

VB.NETBoolean = object.Visible As Boolean
VBBoolean = object.Visible As Boolean
C#.NETbool Boolean = object.Visible;
VC++VARIANT_BOOL Boolean = object->Visible;
VARIANT_BOOL Boolean = object->GetVisible();
CHRESULT object->get_Visible(VARIANT_BOOL* Boolean);

Put

VB.NETobject.Visible = Boolean As Boolean
VBobject.Visible = Boolean As Boolean
C#.NETbool object.Visible = Boolean;
VC++VARIANT_BOOL object->Visible = Boolean;
void object->PutVisible(VARIANT_BOOL Boolean);
CHRESULT object->put_Visible(VARIANT_BOOL Boolean);

object

A SftTreeSplitter object.

Boolean

Defines whether a vertical splitter bar is present.

BooleanDescription
TrueA vertical splitter bar is present.
FalseNo vertical splitter bar is present.

Comments

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.

Examples

VB.NET

    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

VB6

            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

C#

            }
        }

        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


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.