Link to this page
Print this page
Parent topic
:
Topmenus
Form definitions
/
Topmenus
Using topmenus
To use topmenus, you must understand how they work and how to structure the code.
Defining the topmenu in a form file
Topmenus can be defined in the form specification file within the
TOPMENU
section.
Loading a topmenu from an XML file
Loading a default topmenu from an XML file
To load a default topmenu from an XML definition file, use the utility method provided by the
ui.Interface
built-in class.
Creating the topmenu dynamically
Topmenus on mobile devices
Topmenus can be used to implement a general options menu in mobile apps.