Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning Array
Message
De
03/07/2000 20:36:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00387916
Message ID:
00387923
Vues:
13
>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 ?

Is "myproperty" a property you've added to the ActiveX control? If it is, you have to define it as an array at the time you added it. Be sure to put [1] or [1,1] tacked on to your property name. Once you have that, you can then use ACOPY() to copy from an array variable to the array property.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform