Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function to get the IPAddress
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00485417
Message ID:
00486074
Vues:
23
>Try this
* Call this something indicating what it is in a prg
>* I'll use ActiveX.prg
>DEFINE CLASS MySubClass AS OLECONTROL
>  * Whatever here
>ENDDEFINE
>SET PROCEDURE TO ActiveX.prg ADDITIVE
>ThisForm.AddObject("MyObjName", "MySubClass", "ProgID")
In the above "ProgID" is to be replaced with the ProgId of the control being sub-classed.

Works ok, thanks. Interesting, the Help examples I saw don't seem to include the third parameter in AddObject(). But it's Friday afternoon and I need to get out of here so I'm kind of rushing around and may be missing something. :-)
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform