Main program property

Official Content
This documentation is valid for:
Allows setting that an object is main. It means it can be executed as a standalone application.

Values

False
True

Description

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.

Scope

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)

See Also

Smart Devices Main object properties

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.