Call by Name (Magic xpa 2.x)
The Call by Name operation lets a Magic xpa project call other components that are only recognized by the project at runtime.
A few examples are:
-
Components for a Magic xpa project that were not yet created or were created separately from the Magic xpa project. You can use Call by Name to call programs in another Cabinet file whether or not they are in a component.
-
A local project that can call dynamic programs.
You can call a public program by specifying a Public Program Name or Cabinet File Name.
Exceptions: This operation is not supported for Offline tasks. You cannot call Offline programs from this operation.
The Call by Name properties are:
Public Program Name
Cabinet File Name
Arguments
Result
Form
Lock
Sync Data
Returned Context ID
Condition (Cnd)
Calling a Local Public Program
Runtime Behavior
How Do I Call a Program By Its Name?
How Do I Dynamically Call a Program Within Another Application Not Defined as a Component?
Why is the Call by Name operation not working?