Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change graph values programatically ???
Message
From
05/05/1998 03:34:33
 
 
To
04/05/1998 13:03:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00096651
Message ID:
00096947
Views:
21
>>>>I have a graph in my form, and i want to change the values of a point programatically, not issuing 'append general' with a DATA option.
>>>>It is possible ?
>>>Carlos,
>>>Yes possible. Since you have graph object on your form, it means you have access to any PEM of MSGraph object.with ThisForm.myGraphObject.object.application.datasheet
>>> .cells(2,4).value = 35 && Set row 2 col 4 value to 35 - no need for refresh
>>>endwithCetin
>>
>>Thanks Cetin, that works fine.
>>I have been a lot of time checking 'ThisForm.myGraph.application.datasheet.cells(2,4).value = 35'
>>without 'object'.
>Carlos,
>With OLE automation objects, if a property with same name exists (better exists or not) in VFP I strongly advice to use "object" addition to assure you're referring to OLE control. Sometimes I spend so much time in debugging also the code seem perfect (only "object" missing).
>Cetin

That's a good advice. Where can i get the properties of the graph in order to maniplçulate it ?. I.e.: now i dont know how to append a new serie or delete one.
Saludos,
A.G.P.
---------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform