Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a procedure to an ActiveX control
Message
From
28/06/2000 18:46:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Adding a procedure to an ActiveX control
Miscellaneous
Thread ID:
00386187
Message ID:
00386187
Views:
53
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
Map
View

Click here to load this message in the networking platform