In many Pma objects
or Pmg objects
configurators in the Pm.EvalMacro
method (but also in other methods) can be used the macro expression.
The macro expression for example allows to enter a text expression in the configurator, that is "evaluated" after the application is launched. For example this macro expression can be used for:
- create a complex evaluation of multiple macros, etc.
The macro expression is evaluated always only once
, at application launch, when opening a panel or when calling a method (based on logic of placing) respectively. Therefore it is not possible to assume the macro as a data binding
For all configurators or methods with possible macro expression entry, this possibility is always explicitly stated
in the description (see the "PmgString > Text
" configurator). There is also the information about the the macro expression evaluation sequence
- The macro expression in the configurator of the Pma object
is evaluated after the application is launched.
- The macro expression in the configurator of the Pmg object
is evaluated while the panel is opening.
- The macro expression in the method parameter is evaluated when calling a method.
List of macro expressions:
: Represents the text read from a text file.
: Reference to Pma
object or Pmg
: Represents the value stored in the configuration file.
: Represents a string value composed of all parameters of current expression
: Represents the full path to the folder or to the file.
: (obsolete) Represents the text quoted directly from current macro expression.
: (obsolete) Represents the result of the specified VBScript