Question:
How can I change the background color on an E3Browser row according to the value on the column? For example, when the column’s value is “T”, I want the color of the row to be red.
Solution:
A possible solution is to use the following script in E3Browser’s OnDrawRow event:
If GetColumnValue(1) = "T" Then
RowBackColor = RGB(255,0,0)
End If
The number of the column with the value to be tested (in this case, “T”) must be set at GetColumnValue() function, which always starts as zero. When the application is executed, all rows with records from column 1 containing the letter “T” will be displayed in red. The same goes for new records being displayed at E3Browser.