Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning Array
Message
From
03/07/2000 20:36:48
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00387916
Message ID:
00387923
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform