Try OpenEdge Now
Programming Interfaces
External Program Interfaces
:
ActiveX Control Support
:
Accessing ActiveX controls at runtime
:
Accessing the control handle
:
Using the item property of the control collection
Using the item property of the control collection
This similar example uses the control collection to return the control's component handle:
DEFINE VARIABLE chCSSpin AS COM-HANDLE. /* ActiveX Control */
/* The AppBuilder-generated code from the previous example */
chCSSpin = chCtrlFrame:Controls:Item(1). /* Control handle via Item( ) */