Versions des environnements
>>>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement