Using SHOWGRPH in GENGRAPH.APP

ID: Q98772

2.50 2.50a WINDOWS

The information in this article applies to:

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 <expC1>, <expN>[, <expC2>]

The clauses that are used with the SHOWGRPH procedure are <expC1>, <expN>, and <expC2>, which is optional. For example:

   DO SHOWGRPH IN GENGRAPH.APP WITH ;
      "c:\foxprow\qrygraph.dbf",4,"My Window"

This example displays the graph stored in record 4 of QRYGRAPH.DBF with a window title of "My Window." 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

Last Reviewed: May 22, 1998