Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optional number of parameters and protected procedure
Message
 
 
To
04/01/2007 15:32:07
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01182425
Message ID:
01182533
Views:
37
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform