WinStudio
IWSFormComponent interface
Returns a reference to the IDO collection object bound to a specified component.
object.IDOCollection
Part |
Description |
object | Required. A reference to a form component object. |
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.
Sub Main() Dim oCache As IWSIDOCollection oCache = ThisForm.Components("grid1").IDOCollection Application.ShowMessage(oCache.GetDisplayedObjectName) End Sub