Progress
Language Reference
Controls Property
The component handle to the control collection that references the ActiveX controls in the control-frame.
Data Type: COM-HANDLEAccess: ReadableApplies To: Control-frame COM objectBecause this release supports only one ActiveX control per control-frame, this control collection references only one control. Once you have the component handle to the control collection (collection-handle), you can get the component handle to the ActiveX control itself by invoking the Item( ) method of the control collection. (This is a standard ActiveX convention.) With support limited to a single control per control-frame, the only valid Item( ) method call is collection-handle:Item(1). Once you have the component handle to the actual ActiveX control, you can access the properties and methods of that control.
NOTES
- A simpler technique for getting a component handle to an ActiveX control is to reference its name directly as a property of the control-frame COM object. For more information, see the Control-Name Property entry.
- References to COM object properties and methods extend the syntax used for referencing widget attributes and methods. For more information, see the "Referencing COM Object Properties and Methods" section.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |