Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active-X Controls On Containers?
Message
De
06/03/1998 18:24:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00083030
Message ID:
00083157
Vues:
23
Oops, I misread your message. I read it now and I remember I had the same problem a few months ago. The only good solution I found was to use a Form instead of a simple container.

Another solution is to have a property that holds a reference to the ActiveX object. You create the object using:

This.MyActiveX = CreateObject( "MyControl.MyControlCtrl.1")

where MyControl.MyControlCtrl.1 is the ProgID registry key found under the ActiveX classid registration. This works with any type of class, not only containers. But this is not so "natural".

Vlad


>Yes, but custom is not a container so you aren't able to add an ole control to it...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform