Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning Array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00387916
Message ID:
00388171
Vues:
10
Hi Yoganathan,

If all you need to do is put the value of the first element of the array into a property of the ActiveX control, you need to reference the element in the array to use.
dim MyArray[3]

MyArray[1] = "Willaim"
MyArray[2] = "H."
MyArray[3] = "Gates"

** Place the first element of the array into the property
ActiveX.myproperty = MyArray[1]

** ActiveX.myproperty should contain "William"
hth

>I want to assign a array to a activex property how can I do it in VFP.
>
>ActiveX.myproperty = myArray
>
>is assigning only the first element of the array.
>
>ActiveX.myproperty = @myArray
> gives an error
>
>Any help please ?
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform