Information générale
Catégorie:
Codage, syntaxe et commandes
>You can return values this way from the Init only because parameters as
> scoped to the Init. You've a couple of options here:
>1. Create parameter object with an array property and pass it instead of array.
But is it still lost, after the Init? From my tests, the reference to the array property is lost after Init.
>2. Make returnarray a property of the form and instead of releasing form just hide it, copy that array to your local array and them release form.
How would I access that hidden form (AddSample) from the calling object? Just issue the return function from within AddSample, then within the calling object AddSample.returnarray to access that property? and then just do AddSample.release() ?
This 2nd option seems like the only way to do it...
thanks for your help, thus far, it has been invaluable.
matt
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