IsCurrentObjectPropertyModified method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

Returns a Boolean value indicating whether the current object property in a specified IDO collection has been modified.

Syntax

object.IsCurrentObjectPropertyModified( string )

  Part   Description
object Required. The name of a valid IDO collection object.
string Required. The name of the object property.

Remarks

A return value of:

  • TRUE indicates that the current object property has been modified.
  • FALSE indicates that the current object property has not been modified.

If the specified IDO collection has focus, use this method. If the specified IDO collection might not have focus, use the IsObjectPropertyModified method.

Example

Sub Main()
    ReturnValue = "0"
    
    If (ThisForm.PrimaryIDOCollection.IsCurrentObjectPropertyModified(GetParameter(0)) = True And
        ThisForm.PrimaryIDOCollection.GetCurrentObjectProperty(GetParameter(0)) = "3" )
        ReturnValue = "1"
    End If
End Sub