Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS.Graph
Message
From
26/06/2001 06:47:16
 
 
To
25/06/2001 22:33:38
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00523005
Message ID:
00523449
Views:
22
Hi!

You do not need the MSDN.
What I do by the most quick way for simple graph is following.
Make a new VFP form. In the Init event put code:
if !used("ttt")
  create cursor ttt (OField G)
  select ttt
  APPEND BLANK
endif
Put the OLEBoundControl on form. Specify 'ttt.OField' as the control source.
Than put the ActiveX control and specify the MS Graph control for that ActiveX control. ActiveX is not required to be visible in run-time, you will need it to get the help only.
Run the form. Insert the MS Graph into the OLE Bound Control. Double click on the graph will allow you to edit any its properties in graph design mode. Save it after editing. Than explore property values. You will not need constants at all this way - just see what values designer sets.
When close form, you can select ActiveX and call its help. On my machine with Office 2000 I get the help for MS Graph that describes the design mode. However, when I call help from the ActiveX control in VFP, I get additional chapter at the end of the content list in the help - programmers reference with complete description of all objects model and all PEMs. Not that graph also have some events that you can use. In VB it is easy because it have buit-in late binding of code to events. In VFP you can do this by using the VFPCOM.DLL.

Well, if you do not want to design and see values (you plan complex graphing tool in your app), ou can use the tools to explore the DLL/OCX/TLB files to get all definitions of PEMs and constant values. Search here in downloads for such tool, I remember it is around here.

HTH.

>Right, I am working on that, and i have installed fully the MSDN CD's and searching info.
>
>Tanks
>
>Mauricio
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform