IDOCollection property (WinStudio scripts)

Applies To

IWSFormComponent interface

Definition

Returns a reference to the IDO collection object bound to a specified component.

Syntax

object.IDOCollection

  Part   Description
object Required. A reference to a form component object.

Remarks

Typically, this property is used with the Components property. For example, first use the Components property to retrieve the Visual Basic object associated with a grid component. Then use the IDOCollection property to retrieve the IDO collection object bound to the grid.

Example

Sub Main()
   Dim oCache As IWSIDOCollection
   oCache = ThisForm.Components("grid1").IDOCollection
   Application.ShowMessage(oCache.GetDisplayedObjectName)
End Sub