IsObjectPropertyModified method (WinStudio scripts)
Applies To
IWSIDOCollection interface
Definition
Returns a Boolean value indicating whether an object property in a specified IDO collection has been modified.
Syntax
object.IsObjectPropertyModified( string, integer )
Part | Description |
object | Required. The name of a valid IDO collection object. |
string | Required. The name of the object property. |
integer | Required. The index number of an object in the entries for the specified IDO collection. |
Remarks
A return value of:
- TRUE indicates that the object property has been modified.
- FALSE indicates that the object property has not been modified.
If the specified IDO collection might not have focus, use this method. If the specified IDO collection has focus, use the IsCurrentObjectPropertyModified method.
Example
Sub Main() Dim i As Integer Dim returnValue As String returnValue = "0" For i = 0 to ThisForm.PrimaryIDOCollection.GetNumEntries() - 1 If (ThisForm.PrimaryIDOCollection.IsObjectPropertyModified(GetParameter(0), i) = True And _ ThisForm.PrimaryIDOCollection.GetCurrentObjectProperty(GetParameter(0)) = "3") Then returnValue = "1" End If Next i End Sub