Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From VFP, what exactly is a Collection from a COM object
Message
De
28/02/2000 15:43:20
 
 
À
28/02/2000 15:32:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00338642
Message ID:
00338645
Vues:
13
The equivalent would be an object's collection in VFP. You can create them by adding a property with array elements, like MyCollection[10]. Now what's going to be a bear here is that I don't see a way to directly prototype
cVal = oObj.form("txtBox").Item()
>Hi all (again),
>
>When one creates a reference to an object (say an ASP object, since that is what I am looking at) within VFP the correct way to reference certain values is with this syntax:
>
>
>* For the ASP Request Object passed as param to a COM Server
>cVal = oObj.form("txtBox").Item()
>
>
>What exactly is form("txtBox") in this case? A Collection? That's what it would be called in VB(I think), but what are we seeing from a VFP point of view? Is it a method call? an array? A Collection Object? More importantly can it be emulated in a custom VFP class?
>
>This is related to my earlier post #338620 Concerning the ASP objects. I need to emulate one for a test, and if I can't get the real thing, I could create an object that mimics it, but the above syntax is getting in the way.
>
>Any ideas are greatly appreciated,
>
>TIA,
>Bill Caputo
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform