WinStudio

IsCurrentObjectModified Method

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:

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