Kbase P34398: How to modify the labels into a Dynamic SmartDataBrowser ?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/07/2003 |
|
Status: Unverified
GOAL:
How to modify the labels into a Dynamic SmartDataBrowser ?
GOAL:
Can I change the labels into a Dynamic SmartDataBrowser ?
FACT(s) (Environment):
Progress 9.1x
FIX:
The following sample 4GL code will assign "Amt Balance" label for Balance column
into a Dynamic SmartDataBrowse:
DEF VAR vc AS CHAR.
DEF VAR vi AS INT.
DEF VAR vh AS HANDLE.
vc = DYNAMIC-FUNCTION('getFieldHandles':U IN h_dynbrowser).
DO vi = 1 TO NUM-ENTRIES( vc ) :
vh = WIDGET-HANDLE( ENTRY( vi, vc ) ).
IF vh:NAME = "Balance" THEN
vh:LABEL = "Amt Balance".
END.