General information
Category:
COM/DCOM and OLE Automation
Title:
Adding a procedure to an ActiveX control
Hi All,
Here's the code:
DEFINE CLASS frmOLETest AS FORM
ADD OBJECT Manager AS OleManager
PROCEDURE Manager.INIT
*init code
ENDPROC
ENDDEFINE
DEFINE CLASS OleManager AS OLECONTROL
OLECLASS = 'Manage.Manager.1'
ENDDEFINE
My question is: The Manager.Init procedure created directly after the ADD OBJECT clause adds the procedure to the ActiveX control and not the OLE Container, right??
TIA,
Jon
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only