PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV 24 feature!
  • This lesson will teach you the following concepts
  • What is RAD?
  • Generating RAD
  • Application test
Lesson 3.4. The full RAD
This lesson will teach you the following concepts
  • What is RAD?
  • Generating RAD.
  • Project test.

Estimated time: 20 mn
Previous LessonTable of contentsNext Lesson
What is RAD?
R.A.D. stands for "Rapid Application Development". The RAD is used to automatically build an application, which means all necessary windows, reports and queries.
As already seen, to develop an application in WINDEV, you must create a project and an analysis (if necessary). The analysis contains the definition of the structures of data files used in the processes.
The RAD module of WINDEV is based on this analysis. The RAD module includes a wizard allowing you to choose the application template to generate (the RAD pattern) and the main options regarding the operating mode of your application.

Note

WINDEV is supplied with several "RAD patterns" allowing you to generate several application templates. You also have the ability to create your own RAD patterns.
See Creating a RAD pattern for more details.
The windows, the reports, the queries and the code generated by RAD can be customized. You also have the ability to modify the types of controls, the default values, ...
The RAD can also be used to generate several types of windows, it is the window RAD. The Window RAD is available when a new window is created in your application.
Let's see how to use the Project RAD module.

Note

RID (Rapid graphical Interface Design)
WINDEV also allows you to generate windows containing the controls linked to the analysis items only. The code required for these windows to operate must be written by the developer.
Generating RAD
  • To start generating RAD:
    1. On the "Project" pane, in the "Generation" group, click "Full Application RAD". The wizard for generating the RAD application starts.
      RAD pattern
      Select the pattern that will be used for RAD generation: "Simple RAD" for example. Go to the next wizard step.

      Express

      Only the simple RAD template is available in Express version. The wizard does not allow you to choose the RAD pattern to use. The wizard directly allows you to choose the data files to select.
    2. All data files found in the analysis will be taken into account:
      Choosing the data files
    3. Go to the next step.
    4. The entry points of application correspond to the entries available in the menu.
      Entry points
      Keep the Customer, Orders, PaymentMode and Product data files only. Go to the next step.
    5. Specify whether the Table controls generated in the application windows must be allow the input or not. In our example, the Table controls will allow the user to type new information. Select "Yes: Allow the input in the Table controls (editable Table controls)". Go to the next step.
    6. Specify whether the user groupware will be used in the application. It will be presented later in this tutorial. Select "No: Don't include the user groupware management".
      User groupware
    7. Go to the next step. Specify whether the automatic menu will be included in the application. Answer "Yes: Include the '?' menu".
      ? menu
    8. Go to the next step. The wizard for RAD generation is ended. Validate. The wizard for generating the automatic menu starts.

      Note

      The automatic menu is a help menu suited for your applications. This menu allows the users of your applications to easily access several features.
  • The different options proposed by the wizard for generating the automatic menu are as follows:
    Choosing the menu options
    1. Keep "Help for AAF (Automatic Application Features)".
    2. End the wizard.

Note

When creating the '?' menu, the option "? .. Help for AAFs (Automatic Application Features)" automatically added into your application:
  • the "CCMenu" component. Indeed, this option is using a component procedure to operate.
  • the "WINDEV 24 AAF.PDF" file. This file will be automatically opened when using the menu option.
The application is generated and its test can be run.

Note

GUI errors may appear in the Compilation Errors pane. These errors signal interface problems, especially in the reports (captions too long for example). To correct these errors, the reports must be modified.
Application test
Let's now run the test of generated application.
  • To run the application test:
    1. Click Project Go among the quick access buttons. The application starts.
    2. In the menu, select "Customers/Prospects .. List of Customers/Prospects".
    3. The list of customers is displayed.
    4. To add a new person, click the "New" button. An input form is displayed.
      Input form
    5. Type information about a customer and validate.
    6. Close the list of persons.
    7. In the menu, select "Product .. List of products". The list of products is displayed.
    8. Close the test window. The WINDEV editor is redisplayed.
Previous LessonTable of contentsNext Lesson
Minimum version required
  • Version 24
Comments
Click [Add] to post a comment