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

Hull and Outfitting

Form and Gadget Properties Passed as Function Arguments

Form and Gadget Properties Passed as Function Arguments

  • Last UpdatedFeb 08, 2023
  • 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 wish 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