Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Form Type

  • Last UpdatedOct 27, 2022
  • 2 minute read

The appearance and behavior of a form is determined by its Type attribute:

Type of Form

Description

MAIN

The form that will be swapped to as a Main form.

These forms are not usually displayed directly, but serve to provide gadgets for the application’s toolbar and menus for the application’s main menus.

DOCUMENT

Resizable form usually with a view gadget, but no menu bar. All document forms can be floated or un-floated using the right-mouse pop-up menu in the form’s top border.

When it is floating, you can drag the form away from the MDI frame and position it and resize it without constraint.

This allows you to drag the document form away to another screen of a multi-screen configuration.

DIALOG

This is the default type the form will assume if you gives no type when you set up the form.

The default DIALOG form will be non-resizable, floating, and non-docking. You can specify the DOCKING attribute to allow the form to be docked within the application frame.

By default, a docking dialog is displayed floating, and you can interactively dock it. When a dialog is docked it will be resized to match the application frame edge to which it is docked, and so is resizable by default.

The qualifiers LEFT, RIGHT, TOP, and BOTTOM, specify the edge of the application frame to which the dialog form will be docked when first displayed.

BLOCKINGDIALOG

Normal form layout and content, but will block access to all other forms while it is displayed.

Here are some examples of ways you can set up forms of different types:

Setup Code

Description

layout form !!myform dialog dock left

Creates a resizable docking dialog;

layout form !!myform dialog resizable

Creates a resizable floating dialog;

layout form !!myform dialog

Creates a non-resizable floating dialog;

layout form !!myform

Creates a non-resizable floating dialog;

layout form !!myform document

Creates a resizable MDI child document;

layout form !!myform document Float

Creates a floating resizable non-MDI document.

Related Links
TitleResults for “How to create a CRG?”Also Available in