Kbase P17566: How to dynamically change the label attribute of the current
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/2/2003 |
|
Status: Unverified
GOAL:
How to dynamically change the label attribute of the current column of a regular (not a smart) browse?
FIX:
Define an ENTRY event trigger for the browse with code similar to:
ON ENTRY OF BROWSE {&BROWSE-NAME}
ANYWHERE
DO:
DEFINE VARIABLE h AS HANDLE NO-UNDO.
ASSIGN
h = SELF:HANDLE.
IF VALID-HANDLE(h) AND h:TYPE = "FILL-IN" THEN
h:LABEL = "MyNewLabel".
END.