Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access to Msgraph
Message
From
03/08/1998 05:29:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00121780
Message ID:
00123485
Views:
15
>I'm trying to put a graph onto a form using Msgraph 97. I put an ole object onto the form and set it to msgraph. I set the properties to get the desired output. In the form I create the table data as required dn copy it to the clipboard. But at runtime I must doubleclick the graph object, and paste the data to the table. This way the graph is displayad as expected. How can I put the data directly to the graph object. I could not find a property nor a method to do this. How can I access the Msgraph's properties an where are they described? The Msgraph's help only describes direct access of the program's features.
Hi,
You can change the MSGraph data directly on datasheet and general field is updated as well. The help file is vbagrp8.hlp located at ..\Microsoft Office\Office if you installed VB help otherwise it's on CD. VFP5 solution.app example is for MSGraph5 and syntax fail for MSGraph8.
oGraph = thisform.myGraphControl
with oGraph.object.application.datasheet
  .cells(nRow,nCol) = nNewValue
* No need for thisform.refresh
endwith
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
Reply
Map
View

Click here to load this message in the networking platform