Topmenus Topmenus define typical pull-down menus that appear at the top of application forms. Understanding topmenusThis is an introduction to topmenu definitions.Defining the topmenu in a form fileTopmenus can be defined in the form specification file within the TOPMENU section. Syntax of a topmenu file (.4tm)A .4tm topmenu file is an XML file that holds a tree of elements defining a topmenu structure.Loading a topmenu from an XML fileTopmenu XML definition files can be loaded at runtime.Loading a default topmenu from an XML fileTo load a default topmenu from an XML definition file, use the utility method provided by the ui.Interface built-in class.Creating the topmenu dynamicallyTopmenus can be created at runtime by creating the corresponding XML representation in the AUI tree.Topmenus on mobile devicesTopmenus can be used to implement a general options menu in mobile apps.ExamplesTopmenu usage examples.