Focal Point
Field Formats

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

February 05, 2009, 11:51 AM
IronMaiden
Field Formats
Is there a way to change the default Background color to a different color so that all new reports would use that color for the field property? And is there a way to have the line underneath the Column Title expand to the length of the field rather than just the length of the column name?


Webfocus 7.6.6
Solaris 10 Sparc 64bit
February 05, 2009, 06:34 PM
Darin Lee
The background is a function of the stylesheet used so if you change the background color in default.sty you'll probably get what you need.

As for the other question, the easy answer is no. You can put the column titles in headings/subheadings and then draw lines where you want them, but the default is to underline only the width. Just like if you use styling to underline an A20 field that only contains 5 characters. It only underlines what is displayed, not the whole length of 20 characters.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
February 05, 2009, 08:58 PM
Waz
For the underline of the title, have you tried the stylesheet option BORDER.
TABLE FILE CAR
PRINT CAR
ON TABLE SET HTMLCSS ON
-*ON TABLE PCHOLD FORMAT PDF
-*ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
 GRID=OFF, $
 TYPE=TITLE, BORDER-BOTTOM=LIGHT,STYLE=-UNDERLINE, $
ENDSTYLE
END



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!