Consultor Eletrônico



Kbase P67026: how to change the color of a browse calculated field ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

how to change the color of a browse calculated field ?

FIX:

1 - In the calculated Field Editor, type for example:
SUBSTRING(NAME,1,2) @ test

NAME is one of the fields of your browser

test is the "base-field". You can define it in your definitions section:

DEFINE VARIABLE test AS CHAR.

2 - In the ROW-DISPLAY trigger for the browser type:

ASSIGN test:BGCOLOR IN BROWSE {&BROWSE-NAME} = 5.