Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddObject/CreateObject
Message
De
15/03/2002 06:45:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00633293
Message ID:
00633297
Vues:
25
>Hi Len,
>
>>How do I get the objects displayed on the form - I'm obviously missing something fundamental. Can CreateObject be used this way, or is it only possible with AddObject ?
>
>Create() can't be used that way. You can create controls with it, but never make them visible. You have to use .AddObject() to put them on a form, container, etc.
>
>You could add references to the added objects to a an array, so you know which controls you've added dynamically. Remember to clean up the array before destroying your form.
>
>Regards,
>Armin

Thanks, I'd done the array creation & tidy up, it was just getting them visible. Hilmar's pointed me to his FAQ with example code.
Len Speed
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform