Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dangling reference?
Message
De
03/08/2010 10:00:46
 
 
À
03/08/2010 09:08:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01474712
Message ID:
01474953
Vues:
77
Thomas,

Yes, I tried the 'drag n drop' way. So, this means that Collection classes can ONLY be used by instantiating them programatically?

Thanks
Dennis


>Hi (again) Dennis,
>
>just saw the last sentence of your post, that dropping the collection class on the form won't do.
>
>I assume, you tried this via drag 'n' drop from the class catalog to the form.
>This won't do. If you look closely at the class catalog, you will see the icon of you marked collection class in the upper left corner of the catalog window. This icon can be dropped on your form.
>
>
>>In collection's .destroy(), try with a
>>
>>this.remove(-1)

>>
>>The collection object was created programmatically in the Init of the container class. How do I inject this code?
>>
>>Also, I tried creating a Collectiion class using the class designer. It does not however, want to be dropped on a form like how one drops a textbox or label class...
>>
>>Thanks
>>Dennis
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform