IsPropertyLinkBy method (WinStudio scripts)
Applies To
IWSIDOCollection interface, child forms
Definition
Returns a Boolean value indicating whether an object property in a specified IDO collection object is one of the properties specified in the LINKBY keyword in WinStudio.
Syntax
object.IsPropertyLinkBy( string )
Part | Description |
object | Required. A reference to a valid IDO collection object that is a child form. |
string | Required. The name of the object property. |
Remarks
In WinStudio, you use the LINKBY keyword to connect parent and child forms. Use this method in a script that is attached to a linked child form.
A return value of:
- TRUE indicates that the object property (of the child form) is used in the LINKBY keyword.
- FALSE indicates that the object property (of the child form) is not used in the LINKBY keyword.
Example
Dim bIsLinkBy As Boolean
If ThisForm.PrimaryIDOCollection.IsPropertyLinkBy("AccountNo") Then
bIsLinkBy = TRUE
End If