Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating class definitions on the fly
Message
 
 
À
10/05/2006 23:40:00
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01120742
Message ID:
01120886
Vues:
10
>Just to add, you shouldn't need the set procedure part if you'll instantiate your class as
>

Thanks. In our case we use framework's method Add, which doesn't allow to pass library.

The whole idea is for generating menu on the fly using MereMortals framework. As I said, it was a very nice solution to generate all menu classes on the fly. I was thinking, however, that the class definitions will clatter the memory. I added restoring the original set('procedure') after I've done. It would not remove classes from the memory, right?

And, BTW, I set it to FXP just in case. I'm thinking that prg may not work if the user doesn't have VFP installed (I'm not sure and don't want to take a risk).
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform