WinStudio

SetCurrentObjectModified Method

Applies To

IWSIDOCollection interface

Definition

Sets the current object in the specified IDO collection to "modified" based on the specified criteria.

Syntax

object.SetCurrentObjectModified( Boolean )

  Part

  Description

object Required. A reference to a valid IDO collection object.
Boolean Required. Determines whether the object is marked as "modified":
  • TRUE – The object is marked as "modified".
  • FALSE – The object is not marked as "modified".

Example

Sub Main()
   If ThisForm.PrimaryIDOCollection.GetCurrentObjectProperty("SelectFlag") = "1" Then
      ThisForm.PrimaryIDOCollection.SetCurrentObjectModified(False)
   End If
End Sub