Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I know I'm not the first to ask, but I wasn't clear about the answer before: what is the best way to return multiple parameters from a form? I have been concatenating my parameters into a string with a separater "|" character, which seems dumb. I believe I tried returning them all in an array but couldn't get that to work.
>
>You should have property-array in some place of your application to do this job. I usually have main Formset where I have properties regarray1(1),regarray(2)... just for this purpose: you refill this array in e.g. Init and Destroy events of particular form.
That sounds like it would work. It also sounds like it would make the whole program use more memory. The nice thing about returned parameters is that they're gone when you're done with them. Or can you redimension that property array to 1 when it's not in use?
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