PML Customisation
User Guide
Form and Gadget Callbacks
: Callbacks: Expressions
Callbacks: Expressions
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
‘$m %pathname%/MyMacro’
to execute a given command macro, or
‘q var !!form’
‘q var !!form.gadget’
which will write out details of the form or gadget and its members. 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’
which get or set the value of a gadget on the form from or to a user-defined object.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.