Progress
Language Reference
Control-Name Property
The component handle to an ActiveX control that has the specified design-time name (Control-Name) and that is loaded into the control-frame.
Data Type: COM-HANDLEAccess: ReadableApplies To: Control-frame COM objectTo return the component handle of the ActiveX control, you provide the design-time name as a property of the control-frame COM object:
In this example, Spin is the name of an ActiveX control and is also used as a property to return the handle to that control.
This is the simplest technique to access an ActiveX control that is loaded in a control frame.
NOTES
- Another way of getting a component handle to an ActiveX control is to access it through the control collection. For more information, see the Controls 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 |