|Sets an object as main object. It means it can be executed as a standalone application.
Objects: Procedure, Panel for Smart Devices, Transaction, Web Panel, Work With for Smart Devices, Menu for Smart Devices
Platforms: Web(.Net, Java), Smart Devices(Android, IOS)
Default value: False.
Defines an object as a main. Depending on the platform it has a different meaning:
- An executable file will be generated for C# Windows environments containing all other objects called directly or indirectly by it. When a main object is called from within another object, GeneXus generates a call to an executable file.
- A class containing a main method will be generated for Java Windows environments; making it a possible entry point for the application.
- In Web environments, the meaning depends on the Call protocol property.
- In Smart Devices environments it will create an installable application on the selected platform.
Native Mobile Main object properties