Focal Point
Changing background color of an element in heading for pdf output

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4591087331

July 12, 2004, 03:38 PM
<kj>
Changing background color of an element in heading for pdf output
How to change the background color of a specific element in heading.
I tried with the below code, it doesn't working.
The background color is applied to entire row instead of for the specified item.
I am using Webfocus 5.21 on Win NT.

SET STYLE = OFF
SET STYLEMODE=FIXED
TABLE FILE CAR
HEADING
"<25>Country:<|COUNTRY"
" Model:<+0><|MODEL"
"<50>Sales: "
PRINT COUNTRY NOPRINT
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
TYPE=REPORT,GRID=OFF,$
TYPE=HEADING,LINE=2,ITEM=1,OBJECT=TEXT,STYLE=BOLD,BACKCOLOR=RED,POSITION=.5,$
ENDSTYLE
END

A quick response is heighly appreciated.
Thanks
kj
July 13, 2004, 08:53 AM
<Grzegorz>
Looks like WebFOCUS PDF reports do not allow for multiple background colors in one heading line. Good point to open the Tech. Support case.

Grzegorz