Tutorial: Form editor

Navigation:  »No topics above this level«

Tutorial: Form editor

Version 1.0.0

The Form Editor is used to create your own dialogs with functions that far exceed the standard OK/Cancel functions. To this end, a separate IDE is provided, with which you can easily create such dialogs. The graphical interface of the dialog can be easily adjusted by mouse, while the actual function code is created with Delphi script.

 

This tutorial provides information on the following topics:

IDE Structure
Helpful information about usage
Instructions for creating a sample form
Use of project variables

 

Hinweis

Note:

To use this command, you should be familiar with programming in Delphi script and the general use of an IDE.

 

The 'Form editor' command

To open the form editor, use the Form editor Client Command below the Dialog category in the Client Command editor (see Category dialogs). An initial dialog will then open and show a preview. This preview shows the interface of the dialog create with the form editor. If you have not yet entered your own dialog, the preview shows a standard dialog. With the Edit form button, the above-mentioned IDE will open.

 

Form editor

Form editor command

 

Below the preview you will find two variable values. The first value is a number. If this number is returned by the form with CloseForm(x), the entire Client Command is cancelled because it generates an error. The second value is the specification of a project variable which contains the return value of the form. If the form is not cancelled due to the first value, the further course of the Client Command can be controlled with the return value saved in the specified variable.

Last change on 10.03.2014