Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collection Object
Message
De
07/10/1999 11:37:03
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00273466
Message ID:
00273737
Vues:
28
Hi Scott,

>I don't think an array would respond to a PEM, such as:
>MyArray(1).Click()

It does work, that what I was saying. However, since arrays only except element numbers, passing a string (like .Node(tcNode)) does not work. You could create a method to check the array with a string and have that return the object reference, but since you can't use a returned object directly (?sys(1270).Caption) you'd have to set the variable first:

oObj = MyMethod(tcElemement)
oObj.Caption

I submitted this functionality as wish though, so...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform