Menu for Smart Devices objectOfficial Content

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:

New Object - Menu for Smart Devices 

The Menu for Smart Devices object has the following properties:

Name property Name for the object.
Description property Description of the object.
Module/Folder property Folder object or Module Object to which the object belongs.
Main program property If this property is set to True, then the "Main Object Properties" group will be available (see Smart Devices Main object properties).
Enable Data Caching property To specify that the object will or will not use data caching.
Check For New Data property Indicates whether it uses cached data or asks the server if the data has been changed.


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:

Menu for Smart Devices Properties


Title Title for this Menu.
Background Menu background image.
Header property Menu header image.
Class The class of the Menu.
Show Applications Bars  
Application Bars Class  
Show Ads?  
Ads Position?  


Menu Items

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 Name of the option.
Description 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 Image of the option (*).
Class 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.




See also

Several ways to show a Menu for Smart Devices
Calling objects from Menu for Smart Devices Events


Start Video Overview of the development of GeneXus applications for smart devices (part 3 1:50)

Subcribe to this category's changes
Sub CategoriesAdd a new subcategory in this category
PagesAdd a new page in this category
Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.