To achieve this requires 2 main steps:
1. Adding a display method on the table/form datasource that returns an ImageRes
//BP Deviation Documented
display ImageRes errorExist()
{
#resAppl;
return this.ErrorLogged ? #ImageError : #ImageBlank2;
}
2. Adding a new field control on the form by right-clicking on the Grid control within the form design and selecting New Control > Window
Set the properties of the new control as follows: