text in red color

Yohn

Member
Hy,
I want to know how do I color text in some row.
For example when customer.active = no, I want that that costumer displays with red text.
thx.
 

D.Cook

Member
Something like this should do it.

Code:
ON ROW-DISPLAY OF BROWSE <browsename>
DO:
   IF customer.active = no THEN
      customer.name:FGCOLOR IN BROWSE <browsename> = 4.
END.
To view all colours in the in colour table, from the Procedure Editor click Tools>PRO*Tools then the first icon on the left.
 
Top