IsCurrentObjectModified method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

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

Syntax

object.IsCurrentObjectModified( )

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

Remarks

A return value of:

  • TRUE indicates that the current object has been modified by entering or changing data.
  • FALSE indicates that the current object has not been modified.

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

Example

Sub Main()
    If ThisForm.PrimaryIDOCollection.IsCurrentObjectModified() Then
        ThisForm.Components("PaymentTypeCombo").Text = "CASH"
    End If
End Sub