Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optional number of parameters and protected procedure
Message
From
04/01/2007 16:19:39
 
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:
01182536
Views:
48
>>>>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?

Isn't it possible for you to create the parameter object up front? Or you can have more than one parameter object, and include the appropriate object name in the 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.
Previous
Reply
Map
View

Click here to load this message in the networking platform