Consultor Eletrônico



Kbase P64998: How to change column labels of a browse
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/11/2005
Status: Verified

GOAL:

How to change the column labels of a SmartDataBrowse

GOAL:

How to change the column labels of a dynamic browse

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

FIX:

DEFINE VARIABLE hColumn AS HANDLE NO-UNDO.

ASSIGN hColumn = hBrowse:FIRST-COLUMN NO-ERROR.

DO WHILE VALID-HANDLE(hColumn):
IF hColumn:NAME = "address" THEN
DO:
hColumn:LABEL = "Street Name".
LEAVE.
END.
hColumn = hColumn:NEXT-COLUMN.
end.