WinStudio
IWSIDOCollection interface
Returns a Boolean value indicating whether the current object in a specified IDO collection is marked as new and has not been modified.
object.IsCurrentObjectNewAndUnmodified( )
Part |
Description |
object | Required. The name of a valid IDO collection object. |
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, use the IsObjectNewAndUnmodified method.
Sub Main() If ThisForm.PrimaryIDOCollection.IsCurrentObjectNewAndUnmodified() Then ThisForm.Components("PaymentTypeCombo").Text = "" End If End Sub