home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _4BF0FC6131D942EB846C890C7A799EC0 < prev    next >
Text File  |  2003-03-07  |  24KB  |  828 lines

  1. {GET}
  2.  
  3. Syntax
  4.  
  5. {GET Location}
  6.  
  7. Description
  8.  
  9. {GET} pauses macro execution, accepts one keystroke (no carriage return is necessary), and stores the keystroke as a macro command in Location. It then continues macro execution. Any Quattro Pro keystroke can be recorded with {GET} except Shift+F2, Pause, Caps Lock, Num Lock, and Scroll Lock. Unlike { ? }, the keystroke is not passed to Quattro Pro.
  10.  
  11. {GET} is useful for creating macros that run in the background while you work. It can detect each key, and restrict the actions you perform. You can use {LOOK} with {GET} to check the typeahead buffer for user response.
  12.  
  13. Example
  14.  
  15. The following example asks you if you want to continue.
  16.  
  17. \F        {RIGHT 10}
  18.  
  19.             {; display msg_area in top left of screen}
  20.  
  21.             {GOTO}msg_area~
  22.  
  23.  
  24.  
  25. _again    Press Y to continue...~
  26.  
  27.             {GET keystroke}
  28.  
  29.             {IF keystroke<>"Y"}{BEEP2}{HOME}{QUIT}
  30.  
  31.             {BEEP 4}{BRANCH _again}
  32.  
  33.  
  34.  
  35. keystroke
  36.  
  37. msg_area    Press Y to continue...
  38.  
  39. Parameters
  40.  
  41. Location    Cell in which to store the keystroke you entered.
  42.  
  43. {GetCellFormula}
  44.  
  45. Syntax
  46.  
  47. {GetCellFormula Cell}
  48.  
  49. PerfectScript Syntax
  50.  
  51. GetCellFormula (Cell: String)
  52.  
  53. Description
  54.  
  55. Returns the unparsed form of a referenced formula. If the cell is a number, it will return the numeric text. If the cell is a label, it will be prefixed by the prefix char (', ", or ^). If the cell is a formula, it will return the formula itself.
  56.  
  57. Parameter
  58.  
  59. Cell    The cell
  60.  
  61. {GetCellValue}
  62.  
  63. Syntax
  64.  
  65. {GetCellValue Cell}
  66.  
  67. PerfectScript Syntax
  68.  
  69. GetCellValue (Cell: String)
  70.  
  71. Description
  72.  
  73. Retrieves the cell contents as it is displayed, not as its value. If the cell contains a formula, it returns the result of the formula, including its numeric format.
  74.  
  75. Parameter
  76.  
  77. Cell    The cell
  78.  
  79. {GETDIRECTORYCONTENTS}
  80.  
  81. Syntax
  82.  
  83. {GETDIRECTORYCONTENTS Block,<Path>}
  84.  
  85. PerfectScript Syntax
  86.  
  87. GetDirectoryContents (Block:String; [Path:String])
  88.  
  89. Description
  90.  
  91. {GETDIRECTORYCONTENTS} enters an alphabetized list of file names (determined by the path and DOS wildcard specified by Path) into Block; if Path is not included, {GETDIRECTORYCONTENTS} lists all the files in the current directory. Path must contain a DOS wildcard like *.BAT or *.*.
  92.  
  93. Example
  94.  
  95. {GETDIRECTORYCONTENTS A2,"C:\*.*"} fills column A (starting at row 2) with a list of the files in the root directory of drive C.
  96.  
  97. {GETDIRECTORYCONTENTS A2..C7,"C:\COREL\SUITE8\*.*"} fills the cells A2..C7 with a list of the files in the Quattro Pro directory on drive C. The first filename is stored in A2, the second in B2, and so on. If more than 18 files are found, the cells are only filled with the first 18.
  98.  
  99. {GETDIRECTORYCONTENTS C7,"C:\COREL\SUITE8\SAMPLES\*.W??"} fills column C (starting at row 7) with a list of the files in the COREL\SUITE8\SAMPLES directory on drive C that have file extensions beginning with W.
  100.  
  101. Parameters
  102.  
  103. Block    Cells to enter list of files into
  104.  
  105. Path    Path and wildcard specifying the list (optional)
  106.  
  107. Note
  108.  
  109. ¿    If Block is one cell, {GETDIRECTORYCONTENTS} overwrites any information beneath the cell (if it finds more than one file). To restrict the file names to specific cells, set Block to more than one cell.
  110.  
  111. {GETLABEL}
  112.  
  113. Syntax
  114.  
  115. {GETLABEL Prompt,Location}
  116.  
  117. Description
  118.  
  119. {GETLABEL} pauses macro execution, displays Prompt in a dialog box, and accepts keystrokes until you choose OK or press Enter. At that time, Quattro Pro stores the characters typed as a label in Location. Unlike {GET}, it does not accept Quattro Pro's special keys (for example, Home).
  120.  
  121. Prompt can be a literal string, such as "Enter date:,"or a text formula such as +B6 (which contains a label). The prompt string itself can be up to 70 characters long, and is truncated if longer. The response can be as long as 160.
  122.  
  123. If {PANELOFF} is in effect, {GETLABEL} ignores it, letting you view and update the menus, status line, and input line as you type. Once input is completed (indicated by Enter or choosing OK), then these portions of the display are turned off again.
  124.  
  125. Example
  126.  
  127. This example displays the label in B6 as the dialog box prompt, and then stores the result in cell D1:
  128.  
  129. {GETLABEL +B6,D1}
  130.  
  131. The following example stores your last name in the cell named last_cell:
  132.  
  133. \F    {GETLABEL "Enter your last name:",last_cell}
  134.  
  135.  
  136.  
  137. last_cell
  138.  
  139. Parameters
  140.  
  141. Prompt    String displayed to you as a prompt
  142.  
  143. Location    Cell in which to store your response; when {GETLABEL} is used in OLE automation, Location can also be a named variable
  144.  
  145. {GETNUMBER}
  146.  
  147. Syntax
  148.  
  149. {GETNUMBER Prompt,Location}
  150.  
  151. Description
  152.  
  153. {GETNUMBER} is like {GETLABEL}, but accepts only a numeric value, a formula resulting in a numeric value, or the cell address or cell name of a cell returning a value. If a text value is input, ERR is entered in the cell. The prompt can be up to 70 characters long, and the response can be as long as 160 characters.
  154.  
  155. Example
  156.  
  157. The following example stores your age in the cell named age_cell. If you do not enter a number, which the macro detects by checking to see whether age_cell contains ERR, it prompts again.
  158.  
  159. \F    {GETNUMBER "Enter your age:",age_cell}
  160.  
  161.     {IF @ISERR(age_cell)}{BRANCH \F}
  162.  
  163.     
  164.  
  165. age_cell    
  166.  
  167. Parameters
  168.  
  169. Prompt    String displayed to youas a prompt
  170.  
  171. Location    Cell in which to store the user's response; when {GETNUMBER} is used in OLE automation, Location can also be a named variable
  172.  
  173. {GetObjectPageContents}
  174.  
  175. Syntax
  176.  
  177. {GetObjectPageContents Block<;ObjectType>}
  178.  
  179. PerfectScript Syntax
  180.  
  181. GetObjectPageContents(Block?: Range, Objects?: ObjectType)
  182.  
  183. Description
  184.  
  185. {GetObjectPageContents} stores a list of the objects contained on the Object Page on the Quattro Pro desktop in Block. Objects are charts, dialogs, maps, and slideshows.
  186.  
  187. Parameters
  188.  
  189. Block    Cells in which to store object names
  190.  
  191. ObjectType    All (default), Dialog, Chart, Map, and SlideShow.
  192.  
  193. Tip
  194.  
  195. ¿ If Block is one cell, {GetObjectPageContents} overwrites any information beneath the cell if it finds more than one open window. To restrict the window names to specific cells, set Block to more than one cell.
  196. ¿ 
  197. {GETOBJECTPROPERTY}
  198.  
  199. Syntax
  200.  
  201.  {GETOBJECTPROPERTY Cell,Object.Property}
  202.  
  203. PerfectScript Syntax
  204.  
  205.  GetObjectProperty (Cell:String; ObjectProperty:String)
  206.  
  207. Description
  208.  
  209.  {GETOBJECTPROPERTY} lets you view objects in Quattro Pro without using the mouse, including objects normally not selectable (like the application title bar). You can also study selectable objects, such as blocks and annotations, with {GETPROPERTY}. See {SETOBJECTPROPERTY} for the syntax of Object.Property.
  210.  
  211. Example
  212.  
  213.  {GETOBJECTPROPERTY A23,"Active_Notebook.Zoom_Factor"} stores the Zoom Factor property's current setting in cell A23.
  214.  
  215.  {GETOBJECTPROPERTY B42,"/File/Exit.Enabled"} stores whether Exit is operational or not in the cell B42.
  216.  
  217. Parameters
  218.  
  219.  Cell    Cell in which to store the property setting
  220.  
  221.  Object    Name of the object to study
  222.  
  223.  Property    Property of the object to study
  224.  
  225. {GETPOS}
  226.  
  227. Syntax
  228.  
  229.  {GETPOS Location}
  230.  
  231. Description
  232.  
  233.  {GETPOS} places the position of the file pointer in Location as a value. If no file has been opened using {OPEN}, the command is ignored.
  234.  
  235.  The file pointer is a number corresponding to the position at which the next character written to the file will be placed. If the file pointer is 0, the next character written to the file with {WRITE} or {WRITELN} is placed at the beginning of the file. If the file already contains information, it is overwritten, beginning at the first position in the file. After the file is written to, the file pointer is positioned immediately after the last character written. If a file is newly created, then written to for the first time, the file pointer will be the size of the file.
  236.  
  237.  If {GETPOS} succeeds, macro execution continues in the cell below the cell containing the {GETPOS} command, ignoring any commands in the same cell as {GETPOS}; if {GETPOS} fails, macro execution continues in the same cell.
  238.  
  239. Example
  240.  
  241.  The following example opens the text file TEST.TXT, reads in a line, and calculates the length of the line by subtracting the starting position from the ending position and subtracting 1 from the result. This adjustment is necessary because the carriage return and linefeed characters (found at the end of each line in a typical text file) are stripped away by Quattro Pro when the text is read into cells. So, the calculated length is one character longer than the actual length. The text file read here was created by the macro example provided in the {WRITELN} command description.
  242.  
  243.  \F    {OPEN "A:TEST.TXT",R}
  244.  
  245.          {GETPOS start}
  246.  
  247.          {READLN input}
  248.  
  249.          {GETPOS end}
  250.  
  251.          {CLOSE}
  252.  
  253.          {LET num_char,+(end-start)-1}
  254.  
  255.  
  256.  
  257.  input    This is a short line.
  258.  
  259.  start    0
  260.  
  261.  end    22
  262.  
  263.  num_char    21
  264.  
  265. Parameters
  266.  
  267.  Location    Cell in which to store the retrieved value
  268.  
  269. {GETPROPERTY}
  270.  
  271. Syntax
  272.  
  273.  {GETPROPERTY Cell,Property}
  274.  
  275. PerfectScript Syntax
  276.  
  277.  GetProperty (Cell:String; PropertyName:String)
  278.  
  279. Description
  280.  
  281.  {GETPROPERTY} lets you study the property settings of whatever object is selected. Property is the property to view its setting is stored in Cell. (see Property Reference for a list of properties)
  282.  
  283. Example
  284.  
  285.  {GETPROPERTY A23,"Text_Color"} stores the Text Color setting of the selected object in the cell A23.
  286.  
  287.  {GETPROPERTY B42,"Box_Type"} stores the border style of the selected object in cell B42.
  288.  
  289. Parameters
  290.  
  291.  Cell    Cell in which to store the property setting
  292.  
  293.  Property    Property of the selected object to study
  294.  
  295. {GETWINDOWLIST}
  296.  
  297. Syntax
  298.  
  299.  {GETWINDOWLIST Block}
  300.  
  301. PerfectScript Syntax
  302.  
  303.  GetWindowList (Block:String)
  304.  
  305. Description
  306.  
  307.  {GETWINDOWLIST} stores a list of the windows open on the Quattro Pro desktop in Block, including dialog windows and chart windows. Windows currently hidden are not included.
  308.  
  309.  If Block is one cell, {GETWINDOWLIST} overwrites any information beneath the cell (if it finds more than one window open). To restrict the window names to specific cells, set Block to more than one cell.
  310.  
  311. Example
  312.  
  313.  {GETWINDOWLIST A2..C5} stores a list of open windows in the cells A2..C5. The first window name is stored in A2, the second in B2, and so on. If more than twelve windows are open, only the first twelve are stored in the cells.
  314.  
  315. Parameters
  316.  
  317.  Block    Cells to store window names in
  318.  
  319. {GOTO}
  320.  
  321. Description
  322.  
  323.  {GOTO} lets you move the selector to a specific location. Note that you are unable to manipulate the "Enter address to go to" dialog box using the {GOTO} macro. A related macro, {QGOTO}, selects the cell or cells specified as its destination, while {GOTO} moves to the cell in the upper-left corner of the specified cells.
  324.  
  325.  This command is for compatibility with Quattro Pro for DOS.
  326.  
  327. {GRAPH}
  328.  
  329. Description
  330.  
  331.  {Graph} is equivalent to the Chart key, F11, which displays the current chart.
  332.  
  333. Note
  334.  
  335. ¿ This command is obsolete.
  336. ¿ 
  337. {GRAPHCHAR}
  338.  
  339. Syntax
  340.  
  341.  {GRAPHCHAR Location}
  342.  
  343. Description
  344.  
  345.  {GRAPHCHAR} returns the key you press to leave a chart or to remove a message box. The character is stored at Location. This command lets you create a chart or message that functions as a menu of choices. You can use the character returned to branch or display any other data.
  346.  
  347.  {GRAPHCHAR} works with {MESSAGE} to record what key you pressed to remove a message box. It captures only characters you can normally type into a cell; special characters such as Esc are not stored.
  348.  
  349. Example
  350.  
  351.  The following example displays a message box (its contents being the_msg) and returns the character you pressed to remove it. The key pressed is stored in cells named the_key.
  352.  
  353.  \A    {MESSAGE the_msg,15,15,0}
  354.  
  355.          {GRAPHCHAR the_key}
  356.  
  357.  
  358.  
  359.  the_key
  360.  
  361.  the_msg    Press C to continue or any other key to quit...
  362.  
  363.  The next example displays a chart and waits for you to press a key. This macro begins with the command found next to "_graphic" and assumes that the current file contains charts by the name of "line," "pie," "bar," and "area." If you press P, B, or A, Quattro Pro displays a (predefined) pie chart, bar chart, or area chart, respectively. The macro stops playing when you press any key that is not P, B, or A.
  364.  
  365.  the_chart    bar
  366.  
  367.  the_key    b
  368.  
  369.      
  370.  
  371.  _graphic    {GraphView "line"}
  372.  
  373.  _continue    {GRAPHCHAR the_key}
  374.  
  375.      {if @UPPER(the_key)="P"}{_draw "pie"}
  376.  
  377.      {if @UPPER(the_key)="B"}{_draw "bar"}
  378.  
  379.      {if @UPPER(the_key)="A"}{_draw "area"}
  380.  
  381.      
  382.  
  383.  _draw    {DEFINE the_chart}
  384.  
  385.      {GraphView the_chart}
  386.  
  387.      {BRANCH _continue}
  388.  
  389. Parameters
  390.  
  391.  Location    Cell address or the cell name where the returned character should be stored
  392.  
  393. Note
  394.  
  395. ¿ This command is obsolete.
  396. ¿ 
  397. {GraphCopy}
  398.  
  399. Syntax
  400.  
  401. {GraphCopy FromChart, DestChart, <Style?(0|1)>, <Data?(0|1)>, <Annotations?(0|1)>}
  402.  
  403. PerfectScript Syntax
  404.  
  405. GraphCopy (FromGraph:String; DestGraph:String; [Style?:Enumeration {Yes!; No!}]; [Data?:Enumeration {Yes!; No!}]; [Annotations?:Enumeration {Yes!; No!}])
  406.  
  407. Description
  408.  
  409. {GraphCopy} copies the style, data, and/or annotation objects from one chart to another (within a notebook or between notebooks).
  410.  
  411. You can use {GraphCopy?} or {GraphCopy!} to display the Paste Special Chart dialog box. {GraphCopy?} lets you manipulate the dialog box, whereas {GraphCopy!} relies on the macro to manipulate it.
  412.  
  413. Parameters
  414.  
  415. FromChart    Chart containing the style, data, or annotation objects to copy
  416.  
  417. DestChart    New chart (the copy)
  418.  
  419. Style?    Whether to copy properties that affect the appearance of the chart: yes (1), no (0)
  420.  
  421. Data?    Whether to copy chart data: yes (1), no (0)
  422.  
  423. Annotations?    Whether to copy annotation objects: yes (1), no (0)
  424.  
  425. {GraphDeactivate}
  426.  
  427. Description
  428.  
  429. {GraphDeactivate} deactivates a floating chart that has been activated for editing.
  430.  
  431. Example
  432.  
  433. The following macro activates a floating chart for editing, creates a rectangle in the chart, makes a copy of the rectangle, then deactivates editing.
  434.  
  435. {GraphEdit Chart1, 1}
  436.  
  437. {CreateObject Rect,147,176,416,427}
  438.  
  439. {Duplicate 269,338}
  440.  
  441. {GraphDeactivate}
  442.  
  443. {GraphDelete}
  444.  
  445. Syntax
  446.  
  447. {GraphDelete Name}
  448.  
  449. PerfectScript Syntax
  450.  
  451. GraphDelete (Name:String)
  452.  
  453. Description
  454.  
  455. {GraphDelete} deletes the specified chart from the active notebook.
  456.  
  457. You can use {GraphDelete?} or {GraphDelete!} to display the Delete Chart dialog box. {GraphDelete?} lets you manipulate the dialog box, whereas {GraphDelete!} relies on the macro to manipulate it.
  458.  
  459. Parameters
  460.  
  461. Name    Name of the chart to delete
  462.  
  463. {GraphEdit}
  464.  
  465. Syntax
  466.  
  467. {GraphEdit Name,<InPlace?(0|1)}
  468.  
  469. PerfectScript Syntax
  470.  
  471. GraphEdit (Name:String; [InPlace?:Enumeration {Yes!; No!}])
  472.  
  473. Description
  474.  
  475. {GraphEdit} displays the specified chart in a chart window for editing. Use the InPlace? argument to edit a floating chart on the notebook sheet.
  476.  
  477. You can use {GraphEdit?} or {GraphEdit!} to display the Edit Chart dialog box. {GraphEdit?} lets you manipulate the dialog box, whereas {GraphEdit!} relies on the macro to manipulate it.
  478.  
  479. Example
  480.  
  481. The following macro selects the floating chart named Inserted1 and then activates its source chart (Chart1) for editing on the notebook sheet.
  482.  
  483. {SelectFloat Inserted1}
  484.  
  485. {GraphEdit Chart1,1}
  486.  
  487. Parameters
  488.  
  489. Name    Name of the chart to edit
  490.  
  491. InPlace?    Whether to edit the chart in place on a notebook sheet; 0 = no, 1 = yes; the default is 0
  492.  
  493. {GraphGallery}
  494.  
  495. Syntax
  496.  
  497. {GraphGallery ChartStyle, ColorScheme}
  498.  
  499. PerfectScript Syntax
  500.  
  501. GraphGallery (GraphStyle:String; ColorScheme:String)
  502.  
  503. Description
  504.  
  505. {GraphGallery} applies a chart style and color scheme to selected charts.
  506.  
  507. Available choices for ColorScheme are:
  508.  
  509. ¿    No change    Pastels
  510.  
  511. ¿    Default    Fire and Ice
  512.  
  513. ¿    Grayscale    Bright and Bold
  514.  
  515. ¿    Icy Blues    Color Washes
  516.  
  517. ¿    Deep Reds    Black and White Patterns
  518.  
  519. ¿    Autumn Leaves    Color Patterns
  520.  
  521. ¿    Tangerine    Tiled Men
  522.  
  523. You can use {GraphGallery?} or {GraphGallery!} to display the Chart Gallery dialog box. {GraphGallery?} lets you manipulate the dialog box, whereas {GraphGallery!} relies on the macro to manipulate it.
  524.  
  525. Example
  526.  
  527. The following macro selects a 3-D Bar chart style and a "Tangerine" color scheme:
  528.  
  529. {GraphGallery "3dbar","Tangerine"}
  530.  
  531. Parameters
  532.  
  533. ChartStyle    The style of chart; see {GraphSettings.Type} for a list of chart types
  534.  
  535. ColorScheme    The color scheme used for the chart
  536.  
  537. {GraphNew}
  538.  
  539. Syntax
  540.  
  541. {GraphNew Name,<UseCurrentBlock?(0|1)>}
  542.  
  543. PerfectScript Syntax
  544.  
  545. GraphNew (Name:String; [UseCurrentBlock?:Enumeration {Yes!; No!}])
  546.  
  547. Description
  548.  
  549. {GraphNew} creates a new chart and displays it in a chart window. If UseCurrentBlock? is 1, any selected data is shown in the chart; if it is 0, {GraphNew} creates a new chart without data.
  550.  
  551. You can use {GraphNew?} or {GraphNew!} to display the New Chart dialog box. {GraphNew?} lets you manipulate the dialog box, whereas {GraphNew!} relies on the macro to manipulate it.
  552.  
  553. Parameters
  554.  
  555. Name    Name of the new chart
  556.  
  557. UseCurrentBlock?    Whether to chart the current selected cells; 0 = no, 1 = yes; the default is 0name of the new chart
  558.  
  559. {GraphSettings.Check}
  560.  
  561. Syntax
  562.  
  563. {GraphSettings.Check}
  564.  
  565. PerfectScript Syntax
  566.  
  567. GraphSettings_Check ()
  568.  
  569. {GraphSettings.Reset}
  570.  
  571. Syntax
  572.  
  573. {GraphSettings.Reset}
  574.  
  575. PerfectScript Syntax
  576.  
  577. GraphSettings_Reset ()
  578.  
  579. {GraphSettings.Titles}
  580.  
  581. Syntax
  582.  
  583. {GraphSettings.Titles Main, Sub, X-Axis, Y-Axis, Y2-Axis}
  584.  
  585. PerfectScript Syntax
  586.  
  587. GraphSettings_Titles (Main:String; Sub:String; XAxis:String; YAxis:String; Y2Axis:String)
  588.  
  589. Description
  590.  
  591. {GraphSettings.Titles} sets the titles of the active chart (or selected floating chart or chart icon). Each argument is a string; to reset a title, use an empty string ("").
  592.  
  593. Example
  594.  
  595. The following macro command displays the chart Profit99 in a chart window and sets its main title and subtitles. The empty strings ("") indicate that there are no axis titles.
  596.  
  597. {GraphEdit Profit99}
  598.  
  599. {GraphSettings.Titles "Projected Profits","1999","","",""}
  600.  
  601. Parameters
  602.  
  603. Main    Main title of the chart
  604.  
  605. Sub    Title appearing below the main title of the chart
  606.  
  607. X-Axis    Title of the chart's x axis
  608.  
  609. Y-Axis    Title of the chart's y axis
  610.  
  611. Y2-Axis    Title of the chart's secondary y axis
  612.  
  613. {GraphSettings.Type}
  614.  
  615. Syntax
  616.  
  617. {GraphSettings.Type Type,Class}
  618.  
  619. PerfectScript Syntax
  620.  
  621. GraphSettings_Type (Type:String)
  622.  
  623. Description
  624.  
  625. {GraphSettings.Type} lets you specify how the data in a chart is displayed. It affects the active chart (or chart icon or floating chart). Class specifies the class of chart type being used. Class can be one of six settings: Area/Line, Bar, Stacked Bar, Pie, Specialty, and Text.
  626.  
  627. These are the chart types you can choose:
  628.  
  629. {GraphSettings.Type "3D Area,Area/Line"}
  630.  
  631. {GraphSettings.Type "3D Marker,Area/Line"}
  632.  
  633. {GraphSettings.Type "3D Ribbon,Area/Line"}
  634.  
  635. {GraphSettings.Type "3D Unstacked area,Area/Line"}
  636.  
  637. {GraphSettings.Type "Area,Area/Line"}
  638.  
  639. {GraphSettings.Type "Line,Area/Line"}
  640.  
  641. {GraphSettings.Type "Rotated area,Area/Line"}
  642.  
  643. {GraphSettings.Type "Rotated line,Area/Line"}
  644.  
  645. {GraphSettings.Type "2DHalf bar,Bar"}
  646.  
  647. {GraphSettings.Type "3D Bar,Bar"}
  648.  
  649. {GraphSettings.Type "3D Step,Bar"}
  650.  
  651. {GraphSettings.Type "Area_bar,Bar"}
  652.  
  653. {GraphSettings.Type "Bar,Bar"}
  654.  
  655. {GraphSettings.Type "Hilo_bar,Bar"}
  656.  
  657. {GraphSettings.Type "Line_bar,Bar"}
  658.  
  659. {GraphSettings.Type "Multiple bar,Bar"}
  660.  
  661. {GraphSettings.Type "R2D bar,Bar"}
  662.  
  663. {GraphSettings.Type "R2DHalf bar,Bar"}
  664.  
  665. {GraphSettings.Type "R3D bar,Bar"}
  666.  
  667. {GraphSettings.Type "Variance,Bar"}
  668.  
  669. {GraphSettings.Type "3D Column,Pie"}
  670.  
  671. {GraphSettings.Type "3D Doughnut,Pie"}
  672.  
  673. {GraphSettings.Type "3D Pie,Pie"}
  674.  
  675. {GraphSettings.Type "Column,Pie"}
  676.  
  677. {GraphSettings.Type "Doughnut,Pie"}
  678.  
  679. {GraphSettings.Type "Multiple 3D columns,Pie"}
  680.  
  681. {GraphSettings.Type "Multiple 3D pies,Pie"}
  682.  
  683. {GraphSettings.Type "Multiple columns,Pie"}
  684.  
  685. {GraphSettings.Type "Multiple pies,Pie"}
  686.  
  687. {GraphSettings.Type "Pie,Pie"}
  688.  
  689. {GraphSettings.Type "3D Contour,Specialty"}
  690.  
  691. {GraphSettings.Type "3D ShadedSurface,Specialty"}
  692.  
  693. {GraphSettings.Type "3D Surface,Specialty"}
  694.  
  695. {GraphSettings.Type "HiLo,Specialty"}
  696.  
  697. {GraphSettings.Type "Polar radar,Specialty"}
  698.  
  699. {GraphSettings.Type "XY,Specialty"}
  700.  
  701. {GraphSettings.Type "100 stacked bar,Stacked Bar"}
  702.  
  703. {GraphSettings.Type "100 stacked line,Stacked Bar"}
  704.  
  705. {GraphSettings.Type "3D100 stacked bar,Stacked Bar"}
  706.  
  707. {GraphSettings.Type "3D Stacked bar,Stacked Bar"}
  708.  
  709. {GraphSettings.Type "R2D100 stacked bar,Stacked Bar"}
  710.  
  711. {GraphSettings.Type "R2D100 stacked line,Stacked Bar"}
  712.  
  713. {GraphSettings.Type "R2D stacked bar,Stacked Bar"}
  714.  
  715. {GraphSettings.Type "R2D stacked line,Stacked Bar"}
  716.  
  717. {GraphSettings.Type "R3D100 stacked bar,Stacked Bar"}
  718.  
  719. {GraphSettings.Type "R3D stacked bar,Stacked Bar"}
  720.  
  721. {GraphSettings.Type "Stacked bar,Stacked Bar"}
  722.  
  723. {GraphSettings.Type "Stacked line,Stacked Bar"}
  724.  
  725. {GraphSettings.Type "Blank,Text"}
  726.  
  727. {GraphSettings.Type "Bullet,Text"}
  728.  
  729. Example
  730.  
  731. {GraphSettings.Type "3-D Pie,Pie"} make the active chart a 3-D pie chart.
  732.  
  733. {GraphView}
  734.  
  735. Syntax
  736.  
  737. {GraphView <ChartName1,ChartName2,...>}
  738.  
  739. PerfectScript Syntax
  740.  
  741. GraphView (GraphName:String; {[MoreGraphName:String]})
  742.  
  743. Description
  744.  
  745. {GraphView} displays a full-screen chart (or series of charts). {GraphView} without an argument displays the active chart (or chart icon or floating chart).
  746.  
  747. You can use {GraphView?} or {GraphView!} to display the View Chart dialog box. {GraphView?} lets you manipulate the dialog box, whereas {GraphView!} relies on the macro to manipulate it.
  748.  
  749. Example
  750.  
  751. The following macro displays the named charts Profit90 through Profit94.
  752.  
  753.     {GraphView Profit90,Profit91,Profit92,Profit93,Profit94}
  754.  
  755. Parameters
  756.  
  757. ChartName1    Name of the first chart to display (optional)
  758.  
  759. ChartName2    Name of the second chart to display (optional)
  760.  
  761. {GraphWindow}
  762.  
  763. Syntax
  764.  
  765. {GraphWindow.Property}
  766.  
  767. PerfectScript Syntax
  768.  
  769. GraphWindow_Aspect_Ratio (Mode:String)
  770.  
  771. GraphWindow_Grid (Settings:String)
  772.  
  773. Description
  774.  
  775. {GraphWindow} is equivalent to right-clicking the title bar of a chart window to set its Aspect Ratio or Grid properties.
  776.  
  777. {GraphWindow.Aspect_Ratio Option} sets the aspect ratio of the active chart. Option can be one of the following settings: "35mm Slide," "Floating Chart," "Full Extent," "Printer Preview," or "Screen Slide."
  778.  
  779. {GraphWindow.Grid GridSize,DisplayGrid,SnapToGrid} sets the grid size of the active chart window. Use GridSize to specify the percent of chart window between grid points; DisplayGrid specifies whether the grid is visible; SnapToGrid specifies whether the grid is active.
  780.  
  781. Example
  782.  
  783. This macro sets up a 10 by 10 grid, displays the grid, and enables it.
  784.  
  785.     {GraphWindow.Grid "10,Yes,Yes"}
  786.  
  787. {Group}
  788.  
  789. Syntax
  790.  
  791. {Group.Option}
  792.  
  793. PerfectScript Syntax
  794.  
  795. Group_Define (GroupName:String; StartPage:String; EndPage:String)
  796.  
  797. Group_Delete (GroupName:String)
  798.  
  799. Group_ResetNames ()
  800.  
  801. Description
  802.  
  803. {Group} creates and deletes sheet groups.
  804.  
  805. Once you have defined a sheet group, you can use {Notebook.Group_Mode "On"} to activate Group mode. Use "Off" to cancel Group mode.
  806.  
  807. You can use {Group?} or {Group!} to display the Define/Modify Group dialog box. {Group?} lets you manipulate the dialog box, whereas {Group!} relies on the macro to manipulate it.
  808.  
  809. Options
  810.  
  811. {Group.Define GroupName, StartPage, EndPage}    Creates sheet groups
  812.  
  813. {Group.Delete GroupName}    Deletes the currently selected sheet group
  814.  
  815. {Group.ResetNames}    Clears all group names in the notebook
  816.  
  817. {GroupObjects}
  818.  
  819. Description
  820.  
  821. {GroupObjects} groups selected objects in a chart window so they can be treated as one object in subsequent operations. Use {UngroupObjects} to treat them independently again.
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.