ErrorDisplay property: Field class
Description
Use the ErrorDisplay property to display fields in error so that the fields in error are visually correct and accessible. You also use the property to reset the error display.
Example
In the following code, Field1 and Field2 are in error based on the value of SHOW_ERROR:
Local field &Field1, &Field2;
&Field = GetField();
If SHOW_ERROR = "Y" Then
&Field1.ErrorDisplay = True;
&Field2.ErrorDisplay = True;
Else
&Field1.ErrorDisplay = False;
&Field2.ErrorDisplay = False;
End-If;