WinStudio
IWSIDOCollection interface
Returns a Boolean value indicating whether an object property in a specified IDO collection has been modified.
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. |
A return value of:
If the specified IDO collection might not have focus, use this method. If the specified IDO collection has focus, use the IsCurrentObjectPropertyModified method.
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