WinStudio

IsPropertyReadOnly Method

Applies To

IWSIDOCollection interface

Definition

Returns a Boolean value indicating whether an object property for a specified IDO collection has the Read-Only attribute set in the IDO.

Syntax

object.IsPropertyReadOnly( string )

  Part

  Description

object Required. A reference to a valid IDO collection object.
string Required. The name of the object property.

Remarks

A return value of:

Example

Sub Main()
   Dim bIsReadOnly As Boolean
   If ThisForm.PrimaryIDOCollection.IsPropertyReadOnly("AccountNo") Then
       bIsReadOnly = True
   End If
End Sub