IsObjectReadOnly method (WinStudio scripts)

Applies To

IWSIDOCollection interface

Definition

Returns a Boolean value indicating whether a specified object in a collection is read-only.

Syntax

object.IsObjectReadOnly(long)

  Part   Description
object Required. The name of a valid IDO collection object.
long Required. A long integer indicating the row index number of the object in the collection.

Remarks

A return value of:

  • TRUE indicates that the object in the collection is read-only.
  • FALSE indicates that the object is not read-only.

If the specified IDO collection might not have focus, use this method. If the specified IDO collection has focus, use the IsCurrentObjectReadOnly method.

Example

Sub Main()
    Application.ShowMessage(ThisForm.PrimaryIDOCollection.IsObjectReadOnly(5))
End Sub