Elemental Visual Part - SetValue Method
Set the value of the component
Member of Elemental Visual Part (PRIM_EVP)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Boolean

True if the value was set successfully

Value

*Input

Variant

Value to be applied

Details


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.

Example


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 ))