Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object not visible at run time
Message
De
07/05/2001 16:11:26
Phillip Perkins
Technology Consulting, Inc.
Louisville, Kentucky, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00504371
Message ID:
00504416
Vues:
14
No go... It's funny; if I just put a textbox in with a command button and on the command button's click event I put code in to do a macro sub. for what's in the textbox, I can create a form, add the object, and reference the collection object in the runtime. However, if I put the setup code in just a command button's click event, it doesn't see the collection object. VFP really gets on my nerves for these eccentricities.

Phillip

>>I have an ActiveX control that I built in VB. In my control, I have a couple of instantiated objects: one from a class def. that I built and one from a collection class. When I create a form programmatically in the IDE and add my control through addobject, I can reference the collection object's methods and properties. However, when I compile an application with similar code, the collection object is nowhere to be found. Does anybody know why I can see it in the IDE and not in the runtime?
>

>If you look at the control in VB (project), you should see a property called "InvisibleAtRuntime". Make sure it is set as False.
>
>HTH,
"D'OH!" --Homer Simpson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform