AMT Help Files

Screen Layout

A form's layout can be found by opening a form and selecting the Screen Layout node. The window view that is displayed is the Paint menu, in which a form can be designed.

 

Form Objects & Controls

To begin placing an object, first select an object type from the toolbar.

Click anywhere in the Paint window to place the object.

 

Available Objects

 

Controls

Select an already existing object from the Paint view to configure it in the Object Inspector, or select and drag the object to move it around.

To make a selection of multiple objects, hold the Ctrl key and individually select multiple objects to manipulate several objects at the same time.
Alternatively, hold the Ctrl key and the Right Mouse button, then drag the cursor to make a selection of multiple objects.

Press the Delete key to delete the selected object(s), or alternatively press the right mouse button and select Delete from the context menu.

 

Selected objects can be aligned by using the Align tool, which can be opened using the F4 key.



The following images show an example of misaligned objects becoming aligned using the Align tool:



See the Aligning Visual Objects page for more information.

 

Context Menu Options

Pressing the right mouse button anywhere in the Paint view opens the context menu options. The options Show Items, Taborder, and Object Layering (to Send to back and Bring to front) are described below.

 

Show Items

Navigating the context menu and selecting Show Items displays the Items view. This view lists all objects of a form and the properties of each object. The Object Inspector opens after selecting an object, in which the object can be edited the same was as in the Paint view.

 

Taborder

A tab order allows the end user to subsequently tab through the form's visual elements using the Tab key on the keyboard.

Navigating the context menu and selecting Taborder displays a dialog window in which it is possible to edit the tab order. The tab order can be changed using the Up- and Down Arrow buttons to reorder the list of objects.

Alternatively, selecting the Auto tab button will cause the tab order to automatically be set according to the position on the form—left to right, top to bottom. The top-left most object will be set to 0 and the bottom-right most window receives the highest TabNumber.

 

Another way of manually configuring the TabNumber is by selecting an object and changing its TabNumber value.

Unless the form's option Taborder based on left-top is enabled, the initial focus will always be set to the object with the lowest TabNumber setting. See the Tab Order page for more information.

Objects that have the TabStop property set to False are ignored when tabbing through objects.

 

Object Layering

Form Objects can overlap and be placed on top of one another. One way of achieving this is by selecting an object and pressing the right mouse button to open the context menu and then selecting Send to back or Bring to front to place an object behind others, or in front of others, respectively. Alternatively, the ZOrder property of an object can be changed manually in the Object Inspector.

 

Property Values In Code

Object properties can also be set and changed in code in the Implementation view. Code routines could also be executed when, for example, an end user presses a button on the form.

See the Implementation page for more information.