DialogWizard 2.01
by Michael O'Leary
Copyright (C) 1994 Venture Computing Group Inc.

                             The DialogWizard
                             -----------------

The DialogWizard program allows you to quickly create dialog box scripts.  Using the mouse you may easily place and move control elements
in your dialog box.  You may then save the dialog box to a Pal script.  The
DialogWizard has been upgraded to support Paradox 4.5 SHOWDIALOG enhancements.

In this maintenance upgrade, the following problems with ACCEPT control have 
been corrected:

        Lookup Table has been extended to 80 characters to accommodate long
        path names.

        The parsing of the variable name for the ACCEPT control will now
        work with array and dynarrays.

I would like to express my thanks to Richard Hetherington and Adrian Williams
for bringing these bugs to my attention.  I do appreciate any input on 
improving the program.


The DialogWizard program can also read in existing dialog box scripts
and allow you to modify the dialog.  The script file must contain a SHOWDIALOG
statement that is syntactically correct.  Dialog procedure and event list
statements are not supported in this version.


If you have any comments or suggestions please contact the author:

Michael O'Leary
Venture Computing Group, Inc.
21 Second Avenue, Suite 101
Troy, New York 12180

or CompuServe [72010,2457]

Table of Contents
-----------------
   Starting the DialogWizard
   Placing a Control Element
   Moving and Resizing a Control Element
   Moving a Group of Control Elements
   Viewing and Changing information on Control Elements
   Deleting an Element
   Saving a dialog window to a file
   Parsing an existing script


Starting the DialogWizard
--------------------------
      1)        Create a subdirectory for the DialogWizard.  Copy all
                files to the subdirectory.

      2)        Edit the script name dlgedit.  Change the value
                of setdirectory to match the directory that contains
                the program files.

      3)        Edit the script name setkey.  Correct the path
                name of the dlgedit script.

      4)        Play the setkey script.

      5)        Press Shift-F1.  A dialog box appears giving the options
                of creating or parsing.  Select create.  Click the OK
                button.

      6)        A toolbar of control elements and a clear dialog window will
                appear.  You are now ready to create a dialog box.


 Placing a Control Element
 -------------------------
       The DialogWizard allows you to place eight different control
       elements. To placing a control element do the following:

       1)       Click the left mouse button on the toolbar to select a
                control element or you can select the element from the
                Add menu.

                Move the mouse over the dialog window.
                Notice that the mouse cursor changes to a cross hair.

       2)       Once the mouse cursor is at the desired position, click
                the left mouse button.  The control element appears in
                the dialog window.


Moving and Resizing a Control Element
-------------------------------------
        After a control element has been placed in the dialog window you
        may wish to change its location or size.

        To resize an elements do the following steps:

        1)      Place a control element in the dialog window following
                the steps in the previous section.

        2)      Place the mouse cursor over the bottom right corner of
                the control element.

        3)      Drag the mouse to the desired width and height.

        To move an elements do the following steps:


        1)      Place the mouse cursor over the element excluding the
                bottom right hand corner.

        2)      Drag the mouse to the desired location.  The control
                element will follow the mouse movements.

        3)      Click the mouse button to drop the element at the
                current location.


Moving a Group of Control Elements
----------------------------------
        Sometimes it is necessary to adjust the location of several control
        elements.  The DialogWizard allows you to move a group of elements
        simultaneously.

        1)      Press and hold the Ctrl key.

        2)      Click on each element you wish to move as a group.

        3)      Release the Ctrl key.

        4)      Use the mouse to drag one of the selected elements.
                Notice the group of elements move together.


Viewing and Changing Information on Control Elements
----------------------------------------------------
        All the control elements have parameters that may be viewed and
        changed.  This information is needed to properly create the
        SHOWDIALOG statement.

        1)      Move the cursor over an control element.

        2)      Click the right mouse button. A dialog box will appear
                with the parameters for that particular element.

                The "Accept" control element has information regarding
                Data type, Picture, Lookup tables among others.

        3)      Erase any existing information and type in the new
                parameters.

        4)      Click on the Save button to save your changes or click
                on Cancel.


Deleting a Control Element
--------------------------
        To remove an element do the following:

        1)      Place cursor over the control element.

        2)      Press the Delete key.  The element is removed.


Saving a dialog window to a file
--------------------------------
        1)      Select the File/Save.  A dialog box with the Script:
                prompt appears.

        2)      Type in the name of the script file.  Click the OK
                button.  The script file is created and contains the
                SHOWDIALOG statement that reflects the screen you
                created.


Parsing an Existing Script
--------------------------

        The DialogWizard allows you to make modifications to an existing
        SHOWDIALOG statement.  The script file must contain a syntactically
        correct SHOWDIALOG statement.

        To parse do the following:

        1)      Press Shift-F1.  Select the Parse option and click OK.

                The dialog window will contain the control elements that
                were declared in the SHOWDIALOG statement.







