Forms and the Form Editor

Some applications allow you to create forms within the application to launch scripts. Using a form gives you a visual front end for each script. In some applications, for example, you could create a form that asks for an attribute name and visibility setting.

After you input the data in the form, it could run code that performs some action on all attributes that match the search criteria. Forms are also useful for displaying information. In other applications you could create a form that asks the user to enter a component name. The form could then run a script that gathers data about that component and then displays it to you.

Forms consist of controls that you select and define properties for at design time. You determine the runtime behavior of objects using the form’s script code.

You can run a form in one of the following distinct ways:

  • When you start an application.

  • While the application is running, by opening the script or form file.

  • By calling the form from a script or another form.