Information générale
Catégorie:
Codage, syntaxe et commandes
Nigel, will the references to those variables be preserved once the Init is done processing for the form? I didn't think that they would. So there is no way to get at the variables downstream. You can store an object reference, but not a variable reference, within a form property (so I thought).
Given:
Do form myForm with @ReturnVal1
In the Init:
Param ReturnVal1
Thisform.HoldReturnVal1_Reference= ??????
(no way to do it; you can only store the value of the variable).
>I'd actually use @ReturnVal1, @ReturnVal2 instead of sending the names as strings.
>
>>May sound old-fashioned, but you can always pass parameters into a form by reference in a bit of a quirky way:
>>
>>given that ReturnVal1 and ReturnVal2 are to be given some value within the form's logic:
>>
>>Do form myForm with "ReturnVal1", "ReturnVal2"
>>
Précédent
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