Menus:
In this chapter we discuss about menus. Each form runs with a default menu which is built into every form or a custom menu which you define as a separate module and then attach to the form for run time execution. In the duration of runtime, an application can have only one menu module active at a time. The Multiple forms can be share a similar menu or each can invoke a different menu.
Using Menu
Each form runs with one of the following:
- The Default Toolbar menu and a Default textual menu built into the form
- A custom textual menu in which the user defines as a separate module and then attaches to the form for runtime execution. A custom toolbar created through the user.
In the duration of runtime, a form can have only one menu module active at a time, either a custom menu or the Default menu.
The Default menu is category of the form module. The Custom menu modules, therefore, are separate from form modules. Thus, whenever an application that is based on a single form that uses a custom menu is delivered, following files have to be provided:
- An .FMX form module.
- An .MMX menu module.
In a multi-form application, various form modules and various menu modules might be delivered to a client. A Multiple forms can share the similar menu, or each form can invoke a variant menu.