Hello Nick!
I tried your suggestion. The object property only contained the properties that I Set previously, but not every time I saw this property. I use olebound control and MSGraph5.
I tried to read the object property into a variable, but it didnot work, too.
And I read the property value, and I tried to write it back. (xlAutomatic at colorindex) Strange, but VFP gave back an error, saying that propery cannot set. But MSGraph help say about this property that writeable, and it accepts any other value than the one which is the default value. But this is (I guess) the xlAutomatic.
Any comment?
BB
TIA
>>Hi Everyone!
>>
>>Nowadays I arrived on my VFP history to OLE. So, I try to place an MSGraph object into a form.
>>I read some articles about it, and it works, but...
>>To make a costumized chart, I want to change some property to a certain value.
>>I read the MSGraph help file, but it uses only textconstants,
>>i.e.: xlNone, xlAutomatic, xl3DPie ...
>>Sometimes I could try-and-error this values, but sometimes not.
>>So my question is : Is there a way to determine or read somewhere this values?
>>
>>TIA:
>>BB
>>
>>P.S.: Meery Christmas for everyone. (I guess many of you celebrate this like us in Hungary)
>
>Bela, you can run your form, open the Debugger, put _screen.activeform in the Watch window, open it, find your OLE object (say, olecontrol1) find its Object property, open it and you will find specific properties for this OLEcontrol.
>So, you can address those properties like for example:
>
>_screen.activeform.olecontrol1.object.rowlabel
>
>HTH,
>Merry Christmas!
>
>Nick
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement