Microsoft KB Archive/98772

{| = Using SHOWGRPH in GENGRAPH.APP =
 * width="100%"|

ID: Q98772

2.50 2.50a WINDOWS

The information in this article applies to:


 * Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY
The GraphWizard is a FoxPro for Windows application named GENGRAPH.APP. The SHOWGRPH procedure, which can be called from GENGRAPH.APP, allows a graph saved by GraphWizard to be displayed.

SHOWGRPH uses the MODIFY GENERAL command to display the specified graph. SHOWGRPH does not update the data stored in the graph. However, a user can double-click the MODIFY GENERAL window to modify the graph.

A developer might create a set of graphs by using the GraphWizard, store them in a database, then redisplay them at a later time with the SHOWGRPH procedure.

MORE INFORMATION
The correct syntax for calling SHOWGRPH is:

DO SHOWGRPH IN GENGRAPH.APP WITH , [, ] The clauses that are used with the SHOWGRPH procedure are , , and , which is optional.
 *  is the name of the table containing the previously saved graph. The GraphWizard names this table QRYGRAPH.DBF by default.
 *  is the record number containing the graph to be displayed.
 *  is the title to use for the window containing the graph displayed. If the title is not specified, the default title of &quot;GRPHDBF.OLEGRAPH&quot; is used.

For example: DO SHOWGRPH IN GENGRAPH.APP WITH ; &quot;c:\foxprow\qrygraph.dbf&quot;,4,&quot;My Window&quot; This example displays the graph stored in record 4 of QRYGRAPH.DBF with a window title of &quot;My Window.&quot; It does not matter which DBF/cursor is open in the current work area when the SHOWGRPH procedure is invoked. Additional reference words: FoxWin 2.50 2.50a msgraph KBCategory: KBSubcategory: FxtoolGeneral

Keywords         : kbcode FxtoolGeneral Version          : 2.50 2.50a Platform         : WINDOWS
 * }