Creating the user interface / Containers |
A Folder container is used to display children (Pages) inside a Folder tab.
Figure 1. Folder and Pages
action, name, tag, style, posX, posY, gridHeight, gridWidth, hidden, fontPitch, comment, localizedStr
If needed, you can use the action property to bind an action to a folder Page. When the Page is selected, the program gets the corresponding action event.
To bring a folder page to the top, in your source code, use NEXT FIELD to one of the active fields of the page (The NEXT FIELD field-name instruction gives the focus to the specified field.) or use the ui.Form.ensureFieldVisible() method if the fields are disabled/unused or the ui.Form.ensureElementVisible() method if the page does not contain focusable elements.
With the tabIndex property of a field in a Page, you can define which field gets the focus when a Page is selected.