WinStudio
IWSFormComponent interface
Sets an attribute that indicates that the data in the component has been validated.
object.SetValidatorsHaveRunSinceLoadFromSource( Boolean )
Part |
Description |
| object | Required. A reference to a form component object. |
| Boolean | Required. Determines whether the ValidatorsHaveBeenRun
attribute is enabled:
|
Sub Main()
Dim bNewValue As Boolean
Application.ShowMessage(ThisForm.Components("StringTableNameGridCol"). _
GetValidatorsHaveRunSinceLoadFromSource().ToString())
If ThisForm.Components("StringTableNameGridCol"). _
GetValidatorsHaveRunSinceLoadFromSource() Then
bNewValue = False
Else
bNewValue = True
End If
ThisForm.Components("StringTableNameGridCol"). _
SetValidatorsHaveRunSinceLoadFromSource(bNewValue)
Application.ShowMessage(ThisForm.Components("StringTableNameGridCol"). _
GetValidatorsHaveRunSinceLoadFromSource().ToString())
End Sub