>>>>Use a array instead or an object, or default the parameters the first method doesn't get and send them all.
>>>>
>>>
>>>Thanks, Al. For my particular purpose I have to know exactly how many parameters I passed.
>>
>>Then why do you turn down the array suggestion?
>
>Because I'm calling this like this
>
>oFormMgr.DoForm('MyFormClass',myParam1, myParam2) from the menu. How can I use parameters array?
Maybe I'm not understanding the issue. If you replace myParam1, myParam2,... with and array "aParams" holding as many values as needed and in the MyFormClass init, accept an array instead of a series of parameters, it seems like a simple way to go.
Likely I'm just not seeing the whole issue as you are.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only