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