Callbacks: Expressions
- Last UpdatedOct 25, 2022
- 1 minute read
A callback may be any valid expression, including any AVEVA product commands. For example, the following is a AVEVA E3D command:
'new box xlen 10 ylen 20 zlen 50'
It can also include PML general commands like the following to execute a given command macro:
'$m %pathname%/MyMacro'
Or use the following commands which will write out details of the form or gadget and its members.
'q var !!form'
'q var !!form.gadget'
You might like to try it on the form !!Hello.
Typical expressions for a callback are:
'!this.gadget.val = !MyObject.count'
'!MyObject.count = !this.gadget.val'
This gets or sets the value of a gadget on the form from or to a User-defined object.