Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object class is invalid for this container
Message
De
01/11/2007 17:24:08
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
01/11/2007 15:27:42
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01265774
Message ID:
01265900
Vues:
14
>This is a service, so there is no form.

Form is an excellent container for some kinds of things which can't really be hosted elsewhere. Service? Well don't show() the form. It can work invisibly.

>The reason I went to the most recent logic was because we were getting the licensing error. Now I get this other error about how the object can't be in that container. How does anyone get any of this stuff to work?

By subclassing in a visual class, like Borislav told you. That counts as a registered use, and then at runtime it reuses that, i.e. it doesn't count the instantiation of that subclass as a developer instantiation, so no registration check etc - and no error message.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform