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

  1. About Aligning Controls
  2.  
  3. Use the Location and Size options on the Properties dialog box to position and size controls precisely using dialog units. You can also click and drag to size and position controls manually.
  4.  
  5. Use the options on the Align menu to position and space controls inside the dialog and in relation to each other. The last control you click is the "anchor control," which appears with black squares around it.
  6.  
  7.     To align and space controls
  8.  
  9.     To edit controls
  10.  
  11.     To add controls
  12.  
  13.     To delete controls
  14.  
  15. To align and space controls,
  16.  
  17. 1    Press Shift while clicking the control(s) you want to align with each other, then click Align  Left, Right, Top, or Bottom to move the control to that side of the anchor control.
  18.  
  19. 2    Press Shift while clicking the control(s) you want to align with each other, then click Align  Center  Vertical or Horizontal to center a control in relation to the anchor control.
  20.  
  21. 3    Press Shift while clicking the control(s) you want to make the same size as the anchor control, then click Align  Make Same Size  Vertical, Horizontal, or Both.
  22.  
  23. 4    Press Shift while clicking the controls you want to space in relation to each other, then click Align  Space Evenly  Vertical or Horizontal.
  24.  
  25. Tips
  26.  
  27. ¿    The anchor control is the last control you select.
  28.  
  29. About Bitmap
  30.  
  31. Display a bitmap as a control. The bitmap appears on the background of the dialog without a border. You can use horizontal and vertical lines to outline it for clarity.
  32.  
  33. A bitmap control looks like this: 
  34.  
  35. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  36.  
  37. For information about controls on the dialog box, click, then click a control.
  38.  
  39.     To add controls
  40.  
  41.     To edit controls
  42.  
  43.     To delete controls
  44.  
  45. About Buttons
  46.  
  47. There are several different kinds of buttons you can add to a dialog box.
  48.  
  49. Pop-up buttons display a list of options when clicked. The button itself shows the selected option. A pop-up button looks like this when it is closed, and like this  when you click it.
  50.  
  51. A push button activates a specific action when clicked, such as OK, Cancel, Help, and so on. A push button looks like this: 
  52.  
  53. Radio buttons represent mutually exclusive options. Selecting one radio button deselects another. A radio button looks like this: 
  54.  
  55. Use the Properties dialog to set the location, size, named regions, variables, and other properties for each control.
  56.  
  57. For information about controls on the dialog box, click, then click a control.
  58.  
  59.     To add controls
  60.  
  61.     To edit controls
  62.  
  63.     To delete controls
  64.  
  65. About Center
  66.  
  67. Use Center to center a control in relation to the anchor control. Press Shift to select multiple controls. The last control you select is the anchor control, and all the selected controls will be centered in relation to it. You can also press Ctrl while selecting a control to center a copy of it.
  68.  
  69.     To align and space controls
  70.  
  71. About Check Box
  72.  
  73. Check boxes represent compatible options. Clicking an empty check box selects the option; clicking a marked check box deselects the option. You can also define check boxes as "Three State" to give a third value, where a box is checked and grayed to be unavailable.
  74.  
  75. A check box looks like this: 
  76.  
  77. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  78.  
  79. For information about controls on the dialog box, click, then click a control.
  80.  
  81.     To add controls
  82.  
  83.     To edit controls
  84.  
  85.     To delete controls
  86.  
  87. About Color Wheel
  88.  
  89. Color wheels allow users to select colors based on values of hue, lightness, and saturation.
  90.  
  91. A color wheel looks like this: 
  92.  
  93. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  94.  
  95. A keyboard interface has been added to the date controls. The arrow keys may be used to move the color selection. Hold down the CTRL key while using the arrows to change the value of the color saturation bar.
  96.  
  97. For information about controls on the dialog box, click, then click a control.
  98.  
  99.     To add controls
  100.  
  101.     To edit controls
  102.  
  103.     To delete controls
  104.  
  105. About Combo Box
  106.  
  107. Combo boxes display an edit box and a list box. Enter text in the edit box, or double-click a list item to insert it.
  108.  
  109. A combo box looks like this  when it is closed and like this  when you click it.
  110.  
  111. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  112.  
  113. For information about controls on the dialog box, click, then click a control.
  114.  
  115.     To add controls
  116.  
  117.     To edit controls
  118.  
  119.     To delete controls
  120.  
  121. About Control Groups
  122.  
  123. Use Control Groups to group controls together. Defining a group box around a set of controls does not group them, and you must set the control order before grouping controls.
  124.  
  125.     To set up dialogs
  126.  
  127. About Control Order
  128.  
  129. Use Control Order to specify the sequence in which you want to tab through the controls. You must set the control order before grouping the controls.
  130.  
  131.     To set up dialogs
  132.  
  133. About the Control Toolbar
  134.  
  135. Use the Control toolbar to choose controls and actions in the PerfectScript Dialog Editor.
  136.  
  137.     To add controls
  138.  
  139.     To copy controls
  140.  
  141.     To delete controls
  142.  
  143.     To edit controls
  144.  
  145.     To position multiple controls
  146.  
  147.     To position single controls
  148.  
  149. To add controls,
  150.  
  151. 1    Click Tools  Dialog Editor.
  152.  
  153. 2    Select the macro you want, then click OK.
  154.  
  155. 3    Double-click the name of an existing dialog, or click File  New to create a dialog.
  156.  
  157. 4    Click Control, then click the control you want to add.
  158.  
  159. 5    Position the "x" above the control symbol where you want the top-left corner of the control to appear, then click.
  160.  
  161. 6    Double-click the control, set its properties, then click OK.
  162.  
  163. 7    Repeat steps 4-6 for the rest of the controls you want to add.
  164.  
  165. Tips
  166.  
  167. ¿    You can also add controls using the icons on the toolbar.
  168.  
  169. To copy controls,
  170.  
  171. 1    Click Tools  Dialog Editor.
  172.  
  173. 2    Select the macro you want, then click OK.
  174.  
  175. 3    Double-click or create a dialog with controls on it.
  176.  
  177. 4    Select the control(s) you want to copy.
  178.  
  179. 5    Right-click, then click Copy from the QuickMenu.
  180.  
  181. 6    Drag the copy to position it.
  182.  
  183. Tips
  184.  
  185. ¿    The copy has all the properties of the original control. Double-click the new control to change them.
  186.  
  187. ¿    You can also press Ctrl while selecting to copy a control.
  188.  
  189. To delete controls,
  190.  
  191. 1    Click Tools  Dialog Editor.
  192.  
  193. 2    Select the macro you want, then click OK.
  194.  
  195. 3    Double-click or create a dialog with controls on it.
  196.  
  197. 4    Select the control you want to delete, then press Del.
  198.  
  199. To edit controls,
  200.  
  201. 1    Click Tools  Dialog Editor.
  202.  
  203. 2    Select the macro you want, then click OK.
  204.  
  205. 3    Double-click the name of an existing dialog, or click File  New to create a dialog.
  206.  
  207. 4    Select the control you want to edit.
  208.  
  209. 5    Double-click the control, make the changes you want to its properties, then click OK.
  210.  
  211. 6    Click and drag each control to position and size it.
  212.  
  213. To position multiple controls,
  214.  
  215. 1    Click Tools  Dialog Editor.
  216.  
  217. 2    Select the macro you want, then click OK.
  218.  
  219. 3    Double-click or create a dialog with controls in it.
  220.  
  221. 4    Click the top-left corner of the top control in the group you want to select.
  222.  
  223. 5    Drag the selection area down and right to select all the controls you want in the group.
  224.  
  225. 6    Drag the grouped controls to position them.
  226.  
  227. Tips
  228.  
  229. ¿    You can also hold down Shift while clicking controls to select multiple controls.
  230.  
  231. To position single controls,
  232.  
  233. 1    Click Tools  Dialog Editor.
  234.  
  235. 2    Select the macro you want, then click OK.
  236.  
  237. 3    Double-click or create a dialog with controls in it.
  238.  
  239. 4    Double-click a control, specify a left and top value to position it on the dialog, specify a width and height value to change its size, then click OK.
  240.  
  241. Tips
  242.  
  243. ¿    You can also click and drag each control to position and size it.
  244.  
  245. About PerfectScript Dialog Editor
  246.  
  247. Use the PerfectScript Dialog Editor to quickly and easily create, design, set properties for, and edit the dialogs you use in your macros. Using the Dialog Editor takes the place of the DialogDefine and DialogAdd sections in your macros.
  248.  
  249. The Dialog Editor also lets you add, edit, position, size, move, and assign values to controls, lines, and other elements of a dialog. You can use it to give each control a control name, variable name, values, and other properties, as well as define the control order, set the initial focus, set tab stops, and group controls.
  250.  
  251. Most dialogs that are part of the macro system (not user-defined macro dialogs) now allow the static text message part of the dialog to be copied to the clipboard.
  252.  
  253. For information about controls on any dialog box, click, then click a control.
  254.  
  255.     To copy dialogs
  256.  
  257.     To create new dialogs
  258.  
  259.     To delete dialogs
  260.  
  261.     To dismiss a dialog if you are using a callback
  262.  
  263.     To display a dialog within your macro
  264.  
  265.     To edit dialogs
  266.  
  267.     To open the PerfectScript dialog editor from WordPerfect
  268.  
  269.     To rename dialogs
  270.  
  271.     To save new and edited dialogs in the current macro
  272.  
  273.     To select macros and dialogs for editing
  274.  
  275. To copy dialogs,
  276.  
  277. 1    Click Tools  Dialog Editor.
  278.  
  279. 2    Select the macro you want, then click OK.
  280.  
  281. 3    Select the dialog you want to copy.
  282.  
  283. 4    Click Edit  Copy.
  284.  
  285. 5    Open the macro file you want to copy the dialog to, then click Edit  Paste.
  286.  
  287. 6    Select the copy, click File  Rename, then type a new name for the dialog.
  288.  
  289. Tips
  290.  
  291. ¿    Copy places an exact copy of a dialog in another macro file or in the current macro file.
  292.  
  293. To create new dialogs,
  294.  
  295. 1    Click Tools  Dialog Editor.
  296.  
  297. 2    Select the macro you want to add a dialog to, then click OK.
  298.  
  299. 3    Click File  New.
  300.  
  301. 4    Type a name for the new dialog, then click File  Open to edit the dialog.
  302.  
  303. 5    Add controls, choose a font, and set the properties for the dialog.
  304.  
  305. 6    Click File  Save to save the new dialog in the current macro file, then click File  Close to exit the dialog.
  306.  
  307. Tips
  308.  
  309. ¿    Be sure to use the same names for the dialogs that you used in your macros, with the same case, since dialog and control names are case sensitive.
  310.  
  311. To delete dialogs,
  312.  
  313. 1    Click Tools  Dialog Editor.
  314.  
  315. 2    Select the macro you want, then click OK.
  316.  
  317. 3    Select the dialog you want to delete.
  318.  
  319. 4    Click File  Delete.
  320.  
  321. 5    Click Yes.
  322.  
  323. Tips
  324.  
  325. ¿    Delete removes a dialog from a macro file, but you must also delete all references to a deleted dialog from the macro itself using your selected macro editor.
  326.  
  327. To dismiss a dialog if you are using a callback,
  328.  
  329. 1    In your macro editor, type or insert the DialogDismiss command after a DialogShow command that uses a callback.
  330.  
  331. 2    Specify the name of the dialog and the name of the control used to dismiss the dialog.
  332.  
  333. Tips
  334.  
  335. ¿    If you use a cancel button, a control other than a push-button, or a non-existent control to dismiss the dialog, your changes will not take effect. If you use a push-button other than a cancel button, the variable values are set and your changes take effect when you dismiss the dialog.
  336.  
  337. To display a dialog within your macro,
  338.  
  339. 1    In your macro editor, type or insert the DialogShow command where you want the dialog to appear in your macro.
  340.  
  341. 2    Specify the name of the dialog and the named region for its parent window.
  342.  
  343. 3    Specify a callback parameter if you want the macro to execute while the dialog displays.
  344.  
  345. 4    Type or insert the DialogDismiss command after a DialogShow command that uses callback.
  346.  
  347. 5    Specify the name of the dialog and the name of the control used to dismiss the dialog.
  348.  
  349. Example of DialogShow and DialogDismiss
  350.  
  351. The following is an example of the DialogShow command:
  352.  
  353. DialogShow("DialogName";"WordPerfect";CallBack@)
  354.  
  355. The first parameter is the name you gave to the dialog when you created it in the PerfectFit Dialog Editor (in this case, DialogName).
  356.  
  357. The second parameter is a named region specifying the parent window for the macro dialog (in this case, the WordPerfect window will be the parent window for the dialog). Named regions are defined by the application. The region consists of the application name, followed by a period (.), followed by additional words that narrow the named region to the appropriate window. For example, the named region of the document window in WordPerfect is WordPerfect.Document.
  358.  
  359. The third parameter is a label that identifies a callback function. If you do not specify a callback parameter in the DialogShow command, the macro does not execute until you dismiss the dialog. If you use a callback, the macro executes while the dialog is up. It is up to the callback to prevent the macro from terminating prematurely and to shut down the macro dialog using the DialogDismiss command.
  360.  
  361. The following is an example of the DialogDismiss command:
  362.  
  363. DialogDismiss("DialogName";"OKBttn")
  364.  
  365. The first parameter is the dialog name. The second parameter is the named region of the control used to dismiss the dialog. For more information on the DialogShow and DialogDismiss commands, see Macros Online Help.
  366.  
  367. To edit dialogs,
  368.  
  369. 1    Click Tools  Dialog Editor.
  370.  
  371. 2    Select the macro file containing the dialog you want to edit, then click OK.
  372.  
  373. 3    Double-click the dialog you want to edit.
  374.  
  375. 4    Add, edit, or delete controls, change the font, and alter the properties for the dialog.
  376.  
  377. 5    Click File  Save to save the edited dialog in the current macro file.
  378.  
  379. To open the PerfectScript dialog editor from WordPerfect,
  380.  
  381. 1    Click Tools  Macro  Edit.
  382.  
  383. 2    Select a macro filename, then click Edit to display the Macro toolbar.
  384.  
  385. 3    Click Dialog Editor on the Macro toolbar.
  386.  
  387. 4    Select the dialog you want, then click Edit.
  388.  
  389. To rename dialogs,
  390.  
  391. 1    Click Tools  Dialog Editor.
  392.  
  393. 2    Select the macro you want, then click OK.
  394.  
  395. 3    Select the dialog you want to rename.
  396.  
  397. 4    Click File  Rename.
  398.  
  399. 5    Type a new name for the dialog.
  400.  
  401. Tips
  402.  
  403. ¿    Renaming gives a dialog a new name while leaving it in the current macro file, but it does not change the name displayed on the caption bar.
  404.  
  405. ¿    When you rename a dialog, you will need to change all references to it in the macro itself using your selected macro editor.
  406.  
  407. To save new and edited dialogs in the current macro,
  408.  
  409. 1    Click Tools  Dialog Editor.
  410.  
  411. 2    Select the macro you want, then click OK.
  412.  
  413. 3    Double-click the name of an existing dialog, or click File  New to create a dialog.
  414.  
  415. 4    Add, edit, or delete controls, choose the font, and set the properties for the dialog.
  416.  
  417. 5    Click File  Save, then click File  Close when you are finished with the dialog.
  418.  
  419. To select macros and dialogs for editing,
  420.  
  421. 1    Click Tools  Dialog Editor.
  422.  
  423. 2    Select the macro file(*.wcm) you want to create or edit dialogs for, then click OK.
  424.  
  425. 3    Select the dialog you want to edit, or click File  New to add a new dialog to the macro.
  426.  
  427. Tips
  428.  
  429. ¿    The PerfectScript Dialog Editor works only with macros in WordPerfect format. The Dialog Editor does not allow you to edit the macros themselves, only to define dialogs for them.
  430.  
  431. About Counter
  432.  
  433. Counters allow users to enter numeric data in an edit box by typing or by clicking an incrementor/decrementor. Clicking inserts a number in the edit box that is within a specified range.
  434.  
  435. A counter looks like this: 
  436.  
  437. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  438.  
  439. For information about controls on the dialog box, click, then click a control.
  440.  
  441.     To add controls
  442.  
  443.     To edit controls
  444.  
  445.     To delete controls
  446.  
  447. About Create/Edit List
  448.  
  449. Use Create/Edit List to enter and change options for controls that use lists, such as pop-up lists, drop-down lists, list boxes, and so on.
  450.  
  451. For information about controls on the dialog box, click, then click a control.
  452.  
  453.     To add and edit list items
  454.  
  455.     To create new dialogs
  456.  
  457. To add and edit list items,
  458.  
  459. 1    Double-click a control that uses a list of options.
  460.  
  461. 2    Click Create/Edit List.
  462.  
  463. 3    Type a name, then choose Add for each option in the list.
  464.  
  465. 4    Select an item in the list, type a new name, then click Replace to edit an item.
  466.  
  467. 5    Select an item in the list, then click Move Up or Move Down to reposition an item.
  468.  
  469. 6    Select an item on the list, then click Delete to remove list items.
  470.  
  471. 7    Select an item in the list, then click Set Initial to have that item selected when the dialog opens.
  472.  
  473. Tips
  474.  
  475. ¿    You can also select the Sort list check box to sort the list items alphabetically. When Sort list is selected, you can not rearrange items in the list.
  476.  
  477. About Custom
  478.  
  479. Custom controls let you specify your own options for text, class, and attributes.
  480.  
  481. A custom control looks like this: 
  482.  
  483. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  484.  
  485. For information about controls on the dialog box, click, then click a control.
  486.  
  487.     To add controls
  488.  
  489.     To choose control properties
  490.  
  491.     To edit controls
  492.  
  493. About Date
  494.  
  495. Date controls display an edit box and a calendar icon. Users can enter dates by typing or by clicking the calendar icon to open a calendar and selecting a date to display in the edit box.
  496.  
  497. A date control looks like this when you click the calendar icon: 
  498.  
  499. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  500.  
  501. You can use the following key combinations to change the date quicker:
  502.  
  503. arrow + ctrl - Increases the tens column.
  504.  
  505. arrow + alt - Increases the hundreds column. 
  506.  
  507. A keyboard interface has been added to the date controls. Pressing the ALT key and the arrow keys will change the month by 1 month. The PageUp/PageDown keys are used to change the years. Using the ALT key will change the year by 1 year. With ALT and CTRL, change the year by 10 years, and with ALT and SHFT, change the year by 100 years. 
  508.  
  509. For information about controls on the dialog box, click, then click a control.
  510.  
  511.     To add controls
  512.  
  513.     To edit controls
  514.  
  515.     To delete controls
  516.  
  517. About Default Button
  518.  
  519. Use Default Button to specify the button you want to be activated when the user presses Enter on the control.
  520.  
  521.     To set up dialogs
  522.  
  523.     To add controls
  524.  
  525. About Edit Box
  526.  
  527. Edit boxes allow users to type text or allow the macro to type text for them. They can have one line or multiple lines.
  528.  
  529. An edit box looks like this: 
  530.  
  531. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  532.  
  533. For information about controls on the dialog box, click, then click a control.
  534.  
  535.     To add controls
  536.  
  537.     To edit controls
  538.  
  539.     To delete controls
  540.  
  541. About Filename Box
  542.  
  543. Filename boxes display an edit box and a folder icon list button. Users can enter filenames or directories by typing them in or by clicking the list button to display a Browse dialog.
  544.  
  545. A filename box looks like this: 
  546.  
  547. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  548.  
  549. For information about controls on the dialog box, click, then click a control.
  550.  
  551.     To add controls
  552.  
  553.     To edit controls
  554.  
  555.     To delete controls
  556.  
  557. About Font
  558.  
  559. Use Font to choose a typeface and point size for all text on your dialog. The caption font remains constant for all dialogs. Changes in font size and style do affect the size of the dialog.
  560.  
  561.     To choose fonts for dialogs
  562.  
  563. To choose fonts for dialogs,
  564.  
  565. 1    Click Tools  Dialog Editor.
  566.  
  567. 2    Select the macro you want, then click OK.
  568.  
  569. 3    Double-click the name of an existing dialog, or click File  New to create a dialog.
  570.  
  571. 4    Click Dialog  Font.
  572.  
  573. 5    Select a font and point size.
  574.  
  575. Tips
  576.  
  577. ¿    The font size you choose will affect the size of your dialog--larger font means larger dialog area.
  578.  
  579. About Frame
  580.  
  581. Frames can visually group items in a dialog, or act as design elements.
  582.  
  583. A frame looks like this: 
  584.  
  585. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  586.  
  587. For information about controls on the dialog box, click, then click a control.
  588.  
  589.     To add controls
  590.  
  591.     To edit controls
  592.  
  593.     To delete controls
  594.  
  595. About Group Box
  596.  
  597. Group boxes visually group controls in a dialog with a titled frame. Group boxes do not automatically group the controls, however. Use Control Groups and Control Order to group controls.
  598.  
  599. A group box looks like this: 
  600.  
  601. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  602.  
  603. For information about controls on the dialog box, click, then click a control.
  604.  
  605.     To add controls
  606.  
  607.     To edit controls
  608.  
  609.     To delete controls
  610.  
  611. About Initial Focus
  612.  
  613. Use Initial Focus to specify the control that has the focus when the dialog opens.
  614.  
  615.     To set up dialogs
  616.  
  617. About Lines
  618.  
  619. Horizontal and vertical lines visually separate items in a dialog.
  620.  
  621. A horizontal line looks like this: 
  622.  
  623. A vertical line looks like this: 
  624.  
  625. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  626.  
  627. For information about controls on the dialog box, click, then click a control.
  628.  
  629.     To add controls
  630.  
  631.     To edit controls
  632.  
  633.     To delete controls
  634.  
  635. About List Box
  636.  
  637. List boxes display lists of options to choose from.
  638.  
  639. A list box looks like this: 
  640.  
  641. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  642.  
  643. For information about controls on the dialog box, click, then click a control.
  644.  
  645.     To add controls
  646.  
  647.     To edit controls
  648.  
  649.     To delete controls
  650.  
  651. About Make Same Size
  652.  
  653. Use Make Same Size to make a selected control the same size as the anchor control. Press Shift to select multiple controls. The last control you select is the anchor control, and all the selected controls will be made the same size as it is.
  654.  
  655.     To add controls
  656.  
  657.     To choose control properties
  658.  
  659. About Progress Indicator
  660.  
  661. Progress indicators display the progress of a process as it runs.
  662.  
  663. A progress indicator looks like this: 
  664.  
  665. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  666.  
  667. For information about controls on the dialog box, click, then click a control.
  668.  
  669.     To create new dialogs
  670.  
  671.     To edit controls
  672.  
  673.     To delete controls
  674.  
  675. About Properties
  676.  
  677. Use Properties to specify the location and size of the dialog, its caption, class, dialog type, frame type, and attributes.
  678.  
  679. Use the Properties dialogs associated with each control to set the location, size, named regions, variables, and other properties for each control.
  680.  
  681. For information about controls on the dialog box, click, then click a control.
  682.  
  683.     To add controls
  684.  
  685.     To choose control properties
  686.  
  687.     To choose dialog properties
  688.  
  689.     To create new dialogs
  690.  
  691. To choose control properties,
  692.  
  693. 1    Click Tools  Dialog Editor.
  694.  
  695. 2    Select the macro you want, then click OK.
  696.  
  697. 3    Double-click or create a dialog with controls in it.
  698.  
  699. 4    Double-click a control, then make the changes you want to its properties.
  700.  
  701. Tips
  702.  
  703. ¿    You can also click and drag controls to position and size them.
  704.  
  705. To choose dialog properties,
  706.  
  707. 1    Click Tools  Dialog Editor.
  708.  
  709. 2    Select the macro you want, then click OK.
  710.  
  711. 3    Double-click the name of an existing dialog, or click File  New to create a dialog.
  712.  
  713. 4    Right-click the dialog, then click Properties from the QuickMenu.
  714.  
  715. 5    Specify the location, size, caption, help file and help key, attributes, dialog type, and frame for the dialog.
  716.  
  717. About Scroll Bars
  718.  
  719. Scroll bars allow users to scroll from left to right and top to bottom.
  720.  
  721. A vertical scroll bar looks like this: 
  722.  
  723. A horizontal scroll bar looks like this: 
  724.  
  725. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  726.  
  727. For information about controls on the dialog box, click, then click a control.
  728.  
  729.     To add controls
  730.  
  731.     To edit controls
  732.  
  733.     To delete controls
  734.  
  735. About Setting Up Dialogs
  736.  
  737. Use the options on the Dialog menu to group dialog controls, to specify the default focus and buttons, and to define tab stops. You must set the control order before grouping the controls; defining a group box around a set of controls does not automatically group them.
  738.  
  739. For information about controls on any dialog box, click, then click a control.
  740.  
  741.     To add controls
  742.  
  743.     To set up dialogs
  744.  
  745. To set up dialogs,
  746.  
  747. 1    Click Tools  Dialog Editor.
  748.  
  749. 2    Select the macro you want, then click OK.
  750.  
  751. 3    Double-click or create a dialog with controls in it.
  752.  
  753. 4    Click Dialog  Control Order, click the controls in the order you want to tab through them, then click OK.
  754.  
  755. 5    Click Dialog  Control Groups, click each control to select its group, then click OK.
  756.  
  757. 6    Click Dialog  Default Button, click a control, click the button you want to be activated when the user presses Enter on the control, then click OK.
  758.  
  759. 7    Click Dialog  Initial Focus, click the control you want to have as the focus when the dialog displays, then click OK.
  760.  
  761. 8    Click Dialog  Tab Stops, click to highlight the controls you want to tab to, then click OK.
  762.  
  763. About Space Evenly
  764.  
  765. Use Space Evenly to space controls horizontally or vertically inside the dialog and in relation to each other.
  766.  
  767.     To align and space controls
  768.  
  769. About Static Text
  770.  
  771. Static text on a dialog gives instructions or information to users. Static text can consist of one line or many lines, and is read only.
  772.  
  773. Static text looks like this: 
  774.  
  775. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  776.  
  777. For information about controls on the dialog box, click, then click a control.
  778.  
  779.     To add controls
  780.  
  781.     To edit controls
  782.  
  783.     To delete controls
  784.  
  785. About Tab Stops
  786.  
  787. Use Tab Stops to select the controls you want to tab to.
  788.  
  789.     To set up dialogs
  790.  
  791. About Testing a Dialog
  792.  
  793. Use Test to check your dialogs before closing the PerfectScript Dialog Editor. Testing a dialog lets you check its controls to make sure they appear and function correctly before you close the Dialog Editor. When you are finished testing, click an OK or Cancel button, or click the Close button on the dialog's title bar.
  794.  
  795.     To save new and edited dialogs in the current macro
  796.  
  797.     To create new dialogs
  798.  
  799. To test dialogs before closing the Dialog Editor,
  800.  
  801. 1    Click Tools  Dialog Editor.
  802.  
  803. 2    Select the macro you want, then click OK.
  804.  
  805. 3    Double-click the name of an existing dialog, or click File  New to create a dialog.
  806.  
  807. 4    Add, edit, or delete controls, choose the font, and set the properties for the dialog.
  808.  
  809. 5    Click Dialog  Test.
  810.  
  811. 6    Use each control on the dialog, and make changes as needed.
  812.  
  813. 7    When you are finished testing, click File  Save, then click File  Close.
  814.  
  815. About Using the Grid to Design Dialogs
  816.  
  817. Use the options on the View menu to align controls with precision. By displaying a grid of dotted lines on your dialog, you can neatly position and line up controls. You can also force controls to stick to grid lines with Snap to Grid and select grid spacing intervals for even greater precision placement.
  818.  
  819.     To align and space controls
  820.  
  821.     To position controls with a grid
  822.  
  823. To position controls with a grid,
  824.  
  825. 1    Click Tools  Dialog Editor.
  826.  
  827. 2    Select the macro you want, then click OK.
  828.  
  829. 3    Double-click or create a dialog with controls in it.
  830.  
  831. 4    Click View  Show Grid.
  832.  
  833. 5    Click View  Snap to Grid to force controls to align with grid points.
  834.  
  835. 6    Click View  Grid Options, specify the amount of space you want between grid points on each axis, then click OK.
  836.  
  837. 7    Add controls to the dialog using the grid as a guide.
  838.  
  839. About Viewer
  840.  
  841. Viewers display read-only, scrollable text files.
  842.  
  843. A viewer looks like this: 
  844.  
  845. Use the Properties dialog to set the location, size, named regions, variables, and other properties for the control.
  846.  
  847. For information about controls on the dialog box, click, then click a control.
  848.  
  849.     To add controls
  850.  
  851.     To edit controls
  852.  
  853.     To delete controls
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.