Allows setting the call options to a dynamically called object.
When calling an object, you can configure how the object will be called by setting the object's CallOptions.
For example:
MyPanel.CallOptions.Type = CallType.Popup
MyPanel()
However, when the call is dynamic –that is, the object's name is in a variable–, you cannot use this approach. That's where the DynamicCall External Object comes in.
Sets the specified call option value to the dynamic object.
Parameters:
- ObjectName: Character – The object name for which the call option will be set.
- CallOption: DynamicCallOption, GeneXus.Common – The option to set.
- Value: Varchar – The value to set in the given call option.
Example:
&dynObject = "MyPanel"
DynamicCall.SetOption( &dynObject, DynamicCallOption.Type, "Popup" )
Call( &dynObject )
Enumerated domain with the valid call options to set dynamically.
Values:
Generators: Android, Apple