Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Eric,
>In my code, I have form objects that I saved the name using for each myobject in form.controls. I want to do pemstatus on them but their name is of course character. Is there a way ?
If the name is an actual object reference (or is built into one) you can jst put an EVAL() around the character variable or property.
Personally, since the name wont always be found as an object reference (actually rarly at that) I would change your variables (or properties) to store the object reference, then you get the object, which has the name if you want :-)
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