Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optional number of parameters and protected procedure
Message
 
 
À
04/01/2007 15:32:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01182425
Message ID:
01182533
Vues:
38
>>>Naomi, that's exactly the place that I just found in my 'framework'. Don't repeat my mistake (i suffer it for 8 years at least) and use an object. Btw, I use it for modal calls only. Modeless situation now handled in a good, object-oriented way.
>>
>>Do you mean a parameter object like Tore showed? And change my form class to accept it as one parameter? Then I would have to change menu calls from command to procedures? Did I understand your idea correctly?
>
>Wh can't you still use command?

How would I combine creation of the parameter object and a call to oFormMgr.DoForm method in one command?

Anyway, I'm not yet sure what should I change if I'm going to implement this idea. Should I change my form class to always accept one parameter object as a parameter? And DoForm method of the form manager?

Thanks again.
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