Kbase 19854: ADM2-How-to Change Column Label's Font of a SmartDataBrowse
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/8/2008 |
|
Status: Verified
GOAL:
How to change the column label's font of a SmartDataBrowse at run-time, by using the LABEL-FONT attribute.
FACT(s) (Environment):
Progress 9.x
FIX:
Assume that a SmartDataBrowse has been created and resides on a SmartWindow. The following example shows how to change the label's font on the first column of a SmartDataBrowse. Code the following in the ON VALUE-CHANGED trigger of the
SmartDataBrowse:
DO:
{src/adm2/brschnge.i}
DEF VAR vlabel AS HANDLE.
ASSIGN vlabel = br_table:FIRST-COLUMN IN FRAME {&FRAME-NAME}.
vlabel:LABEL-FONT = 6.
END.