Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving dynamics forms
Message
De
29/02/2000 16:57:43
 
 
À
29/02/2000 16:01:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00339396
Message ID:
00339426
Vues:
15
>I have a form that creates several objects by programming and i would like to know if there is a way to put source codes into these new objects and how can i save this dynamic form.

You can't directly add code to methods at runtime. But with VFP6 (Sp3?) you could write a Low Level Class Definition, Compile it, and then add those objects to your forms, code and all.

As for saving it? Keep around the class defintions. What you could do is make sure all the controls are put into a container, not directly on the form. Then you could put the same "dynamic" container class anywhere.

BTW, what exactly do you want to achieve? We may be able to suggest a better way.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform