WinStudio
IWSIDOCollection interface
Returns a Boolean value indicating whether an object in a specified IDO collection object is marked for deletion.
object.IsObjectDeleted( integer )
Part |
Description |
| object | Required. The name of a valid IDO collection object. |
| integer | Required. The index number of an object in the entries for the current IDO collection. |
A return value of:
If the specified IDO collection might not have focus, use this method. If the specified IDO collection object has focus, use the IsCurrentObjectDeleted method.
Sub main()
Dim i As Integer
i = ThisForm.PrimaryIDOCollection.GetCurrentObjectIndex()
If ThisForm.PrimaryIDOCollection.IsObjectDeleted(i) Then
Application.ShowMessage("This record will be deleted upon saving.")
End If
End Sub