Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change graph values programatically ???
Message
From
04/05/1998 13:03:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/05/1998 09:57:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00096651
Message ID:
00096764
Views:
19
>>>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform