Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to instantiate an OCX in Code rather than Drag & Dro
Message
 
À
29/04/1998 17:34:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00095813
Message ID:
00095821
Vues:
20
>Hi,
>
>How do you instantiate and manipulate an OCX control at run time without first going into the form designer at development time and dragging and dropping the ocx onto the form.
>
>I'm trying to invoke the 3rd party OCX control DynaZip in a prg file.
>
>Thanks for you help. -Rick


Rick, you can subclass your OCX and then use thisform.addobject("myOLEinstanceName1", "mySubclassedOLEobject")

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform