Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning Array
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00387916
Message ID:
00388171
Views:
11
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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform