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
This sample illustrates toggle buttons.
The source code is located at C:\Program Files (x86)\Softelvdm\SftButton OCX 3.0\Samples\Visual Studio - VB.NET\Toggle\Form1.vb or C:\Program Files\Softelvdm\SftButton OCX 3.0\Samples\Visual Studio - VB.NET\Toggle\Form1.vb (on 32-bit Windows versions).
Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
Application.Exit()
End Sub
Private Sub ChangePicture_Button3()
' Change the pictures based on the button's Pressed status
If AxSftButton3.Pressed Then
AxSftButton3.Image1.NETImageObject = ImageList1.Images(1)
AxSftButton3.Image2.NETImageObject = ImageList1.Images(0)
Else
AxSftButton3.Image1.NETImageObject = ImageList1.Images(0)
AxSftButton3.Image2.NETImageObject = ImageList1.Images(1)
End If
End Sub
Private Sub axSftButton3_ClickEvent(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxSftButton3.ClickEvent
ChangePicture_Button3()
End Sub
Private Sub axSftButton3_DblClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxSftButton3.DblClick
ChangePicture_Button3()
End Sub
End Class