General information
Category:
ActiveX controls in VFP
Sorry that's not what I meant.
I would like to pass an array to the property chartData of the Mschart-object.
thisform.oChart.Chartdata=Myarray
>Hi Jimmy
>
>The way I do this is to declare the array as part of the definition and then copy it across.
>
>For example:
>
>LOCAL loObject AS oleChart
>LOCAL loForm AS Form
>LOCAL laMyArray[5]
>
>loForm = CREATEOBJECT( "FORM")
>loForm.NewObject( "oleChart", "oleChart")
>loObject = loForm.oleChart
>
>ACOPY( laMyArray, loObject.iaArray)
>
>DEFINE CLASS oleChart AS OLEControl
> DECLARE iaArray[1]
> OLEClass = "MSChart20Lib.MSChart.2"
>ENDDEFINE
>
>
>>How can I pass an array to an property (member of an activeX-control like MSCHart) ?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only