GetValidatorsHaveRunSinceLoadFromSource method (WinStudio scripts)

Applies To

IWSFormComponent interface

Definition

Returns a Boolean value indicating whether the validators for the specified component were run since the form was loaded.

Syntax

object.GetValidatorsHaveRunSinceLoadFromSource( )

  Part   Description
object Required. A reference to a valid form component object.

Remarks

A return value of:

  • TRUE indicates that the validators have been run.
  • FALSE indicates that the validators have not been run.

Example

Sub Main()
   If ThisForm.Components("StringTableNameGridCol"). _
      GetValidatorsHaveRunSinceLoadFromSource() Then
      Application.ShowMessage("Field validated.")
   Else
      Application.ShowMessage("Field not validated.")
   End If
End Sub