Create function

Official Content
This documentation is valid for:

Encapsulates an object inside another object. The result of the function must always be assigned to the property of a Component.

Syntax

Control.Object = Create( xxx, [parameters])

Where:

Control
   It is the name of the Component control added to the object.

xxx
   It is a Component or an attribute/variable containing the Component (*).

parameters
   Is the list of xxx parameters separated by a semicolon.

With the static option, you cannot change the web component reference at runtime, while the dynamic option allows you to change the name of the Web Component at run-time, but the parameters and data types are fixed.

(*) Note that in mobile apps, it is not the name of the panel; refer to Call Variable to know how to name it.

Scope

Objects: Procedure object, Transaction object, Web Panel objectPanel object

Availability

This feature is available also in mobile apps since GeneXus 15 upgrade 12

See Also