>>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.
>
>There are two downsides of this idea:
>
>1) Since I have to prepare an array with the parameters I would not be able to write one line menu command.
>
>2) I would not be able to guess each parameter's function based on parameter's name.
Like I said, I'm not there, so I guess I don't see the whole problem. Don't you have to prepare the parameters themselves? If you don't know the function of the parameters, then how do you know that what you are sending makes any sense to the receiving method?
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