Official Content

Sets an object as main object, which means it can be executed as a standalone application.

Values

False
True

Scope

Objects: Procedure, Web Panel, Transaction, Panel, Menu, Work With
Generators: Android, Angular, Apple, Java, .NET, .NET Core

Description

Default value: False.

Defines an object as Main. This has a different meaning depending on the platform:

  • 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 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, it depends on the Call protocol property.
  • For Panel objects, it will create an installable application on the selected platform.

Runtime/Design time

This property applies only at design-time.

See Also

Native Mobile Main object properties

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant