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
The user has changed an option.
VB.NET | Private Sub object_ValidateAction(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.ValidateAction |
VB | Private Sub object_ValidateAction(ByVal Name As String, ByVal Value As String) |
C#.NET | void object_ValidateAction(object sender, EventArgumentType e); |
VC++ | void OnValidateActionobject(_bstr_t Name, _bstr_t Value); |
C | HRESULT OnValidateActionobject(BSTR Name, BSTR Value); |
object
Name
The name of the entry that the user has modified.
Value
The new value of the entry (see Entry.Value).
The ValidateAction event occurs when the user has changed an option.
It can be used to update other dependent options (enable/disable, setting dependent values, etc.) or even to immediately apply and save the new option (see IO.Save).
Private Sub Form_Load() SftOptions1.Add "", "Main", "Sample Topic", entrySftOptionsTopic, "", "", Nothing, "", "", "", "" SftOptions1.Add "Main", "Cb1", "Check Box 1", entrySftOptionsCheckBox, "", "", Nothing, "", "", "", "" SftOptions1.Add "Main", "Cb2", "Check Box 2", entrySftOptionsCheckBox, "", "", Nothing, "", "", "", "" SftOptions1.Add "Main", "Cb3", "Check Box 3", entrySftOptionsCheckBox, "", "", Nothing, "", "", "", "" SftOptions1.InitializationComplete End Sub Private Sub SftOptions1_ValidateAction(ByVal Name As String, ByVal Value As String) If Name = "Cb1" Then SftOptions1.Entry("Cb2").Value = Value SftOptions1.Entry("Cb3").Value = Value End If End Sub
See Also SftOptions Object | Object Hierarchy