How to Use the Application Wizard

Top  Previous  Next

The following steps guide you through the creation of an application with the use of the Application Wizard

 

1.

Create a subdirectory for your application, then return to Clarion.

2.

Choose File  New  Solution, Project or Application.

3.

In the New Solution, Project or Application dialog, select the Clarion for Window category and the Application Quick Start.

4.

Type a name for the .APP file in the Name field. Clarion automatically adds the .APP extension.

5.

Verify and modify the Location if needed, Optionally check additional directory options if needed.

6.

Press the Create button.

The Application Properties dialog appears. This dialog lets you define the essential files for the application.

1.

Name the .DCT file the application will use in the Dictionary File field, or press the ellipsis (...) button to select the file in the Select Dictionary dialog.

See How to Create a Data Dictionary for information on creating your application's data dictionary. The Select Dictionary dialog is a standard Open File dialog.

The Application Generator does not require a data dictionary to generate an application, if you uncheck the Require a dictionary box in the Application Options dialog.

2.

Do not rename the first procedure from MAIN.

3.

Choose the Destination Type from the drop down list.

This defines the type of target file for your application. Choose from Executable (.EXE), Library (.LIB), or Dynamic Link Library (.DLL).

4.

Optionally, type a name for the application's .HLP file in the Help File field, or use the ellipsis (...) button to select the file in the Open File dialog.

You can leave the field blank for now, then fill in the field at a later time.

The Application Generator lets you name the help topics in your application without determining that the help file exists. You are responsible for creating a .HLP file that contains the context strings and keywords that you optionally enter as HLP attributes for the various controls and dialogs.

5.

Accept the default Clarion template in the Application Template field.

The selected application template controls code generation.

6.

Check the Application Wizard box to use the wizard to create a complete application based on the selected dictionary and a few answers you specify.

7.

Press the OK button.

The Application Wizard dialogs appear.

8.

Answer the question(s) in each dialog, then press the Next button. On the last dialog, the Finish button is enabled. If you are satisfied with your answers, press the Finish button.

The Application Wizard creates the .APP file based on the dictionary and the answers you provided, then displays the Application Tree dialog for your new application.

You can control some of the wizard options in the Data Dictionary by specifying Options for Files, Fields, Keys, or relations. See Using Wizard Options for more information.