Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Form and Gadget Properties Passed as Function Arguments

Form and Gadget Properties Passed as Function Arguments

  • Last UpdatedOct 24, 2022
  • 1 minute read

A form or gadget value passed as a function argument is read only so cannot be assigned a new value. If you want to change the value of a gadget passed as an argument, pass the gadget itself as an argument, not its value:

define function !!ChangeValue( !Argument is GADGET)

 !Argument.val = 'NewValue'

endfunction

Related Links
TitleResults for “How to create a CRG?”Also Available in