Elemental Visual Part - SetValue Method

Set the value of the component

Member of Elemental Visual Part (PRIM_EVP)


NameTypeData TypeDescription
Result*Result (Optional)BooleanTrue if the value was set successfully
Value*InputVariantValue to be applied


SetValue can be used to assign a value to the field instance.
This allows a value to be set without needing to know the name of the field.


In this example, a field is updated using SetValue. If it fails the code inside the IF will be executed.
If (*Not #Field.SetValue( #NewValue ))
   * Update of field failed

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2