A component handle to the ActiveX object (ActiveX control or ActiveX automation object) that generated the event being handled by the currently executing ActiveX event procedure.
COM-SELF :OCX-property-reference :OCX-method-referenceOCX-property-reference | OCX-method-referenceThe following code fragment displays the name and position of the ActiveX control that generates a Click event:
PROCEDURE ANYWHERE.Click:MESSAGE "Clicked control" COM-SELF:Name "at X-position" COM-SELF:Left"and Y-position" COM-SELF:Top VIEW-AS ALERT-BOX.END PROCEDURE.
![]()
Unlike ABL widget handles that have the HANDLE data type, the component handle returned by COM-SELF has the COM-HANDLE data type.
![]()
The syntax for referencing ActiveX control properties and methods extends the syntax for referencing widget attributes and methods. For more information, see the “Handle Attributes and Methods Reference” section.
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |