A Menu for Smart Devices is usually the entry point of a Smart Device application. It displays a set of items the user may choose from, for example it may display items such as Work With for Smart Devices object, Panel for Smart Devices object, Menus, links to web pages or actions like making a phone call or sending an email.
You can create a Menu for Smart Devices from the New Object dialog of GeneXus:
The Menu for Smart Devices object has the following properties:
Once a Menu for Smart Devices has been created it will have a tree-like interface where you can add the items you wish to be displayed on it, and adjust their properties to your needs. Also some other properties can be set, to the Menu for Smart Devices, by selecting the 'Menu' item on the tree:
The Items are the elements that will compose the Menu (generally Work With for Smart Devices associated to the Transaction object or SD Panels).
To add new Items drag the object from the folder view and drop it in the dashboard node or press right button on the Menu node, Add option/Action:
Each Item has the following properties:
||Name of the option.
||Description of the option. If the description is empty the name property is used as desc a iption. If you want an empty description in the Menu, it is needed to add a blank space in the property.
||Image of the option (*).
||Class of the theme.
(*) If Control property is set to value Tabs, iOS and Android require the image file format to be PNG and only its transparency will be taken into account.
Several ways to show a Menu for Smart Devices
Calling objects from Menu for Smart Devices Events
Overview of the development of GeneXus applications for smart devices (part 3 1:50)