Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a procedure to an ActiveX control
Message
De
28/06/2000 18:46:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Adding a procedure to an ActiveX control
Divers
Thread ID:
00386187
Message ID:
00386187
Vues:
55
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform