AMT Help Files

Tab Order

In the runtime application the end user can navigate between visual objects with the tab key. Changing the tab order of visual objects is done by right clicking in the Screen Layout canvas, and choosing ‘Taborder’ from the popup menu. 

 

This opens a dialog box where visual objects that can get focus at runtime are shown. By default the tab order is set in the order the objects where added to the screen. The tab order of the visual objects within a group box or a panel are defined within the group itself. The method of doing this is described later in this section.

 

The listed tab order is changed by selecting an item and clicking the up button , or down button ,as required.

Alternatively, the above could also have been achieved by clicking the button ‘Auto Tab’. This automatically changes the tab order of the visual objects so they are listed from the top left through to the bottom right of a form screen layout.

To change the tab order within a panel, or group box, right click within the panel or group box on the screen layout canvas and again select “Taborder” from the popup menu.

This time the dialog box only contains the visual objects that can have focus within that panel or group box. The order can be changed in exactly the same way as described above. 

 

It is also possible to change the tab order within the object inspector with the properties ‘TabNumber’ and ‘TabStop’. 

The property ‘TabNumber’ in the Object Inspector allows for the changing of the numeric tab number value that is used to determine the tabbing order of visual objects.

It is also possible for completely switch off the tabbing into an object by setting the ‘TabStop' to false.


There is a difference in the non editable Listview tabbing behaviour between AMT Screens and the Web Client. In AMT Screens using the tab key when a row is selected will cause the focus to shift to the next Control. In the web client using the tab key when a row is selected will select the next row in the Listview, when the last row has been reached the focus will shift to the next control.