Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Backcolor Allignment Question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Backcolor Allignment Question
 Login/Join
 
Platinum Member
posted
The code below works for giving me a page header that has a background color inside the grid. When I run this independently (as its own query), the background color goes all the way to the edges of the grid. When I add the next section to the page, the background color no longer goes all the way to the edges of the grid.

I'm guessing it has something to do with the report/header width, but does anyone know what could be causing the backcolor to not fill the entire grid square?


SET ASNAMES = ON
SET DTSTANDARD = STANDARD
SET HTMLCSS=ON
SET SHOWBLANKS = ON

FILEDEF OUTPUT1 DISK REPORT1.DOC
SET COMPONENT = 'report1'

DEFINE FILE CAR
SECTIONDATA WITH COUNTRY/A1= '';
END

TABLE FILE CAR
BY COUNTRY NOPRINT

HEADING
"Attachment 2"
"Contract List"

ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
UNITS=IN, ORIENTATION=PORTRAIT, TOPMARGIN=0,LEFTMARGIN=0,RIGHTMARGIN=0,$
TYPE=REPORT,FONT='ARIAL', GRID=ON, WIDTH=6.6,$

TYPE=HEADING,LINE=1,JUSTIFY=CENTER,STYLE=BOLD,SIZE=12,BACKCOLOR=RGB(210 210 210), WIDTH=6.600,$
TYPE=HEADING,LINE=2,JUSTIFY=CENTER,STYLE=BOLD,SIZE=12,BACKCOLOR=RGB(210 210 210), WIDTH=6.600,$

ENDSTYLE

ON TABLE HOLD AS REPORT1 FORMAT HTMTABLE
END
-RUN

SET HTMLFORMTYPE=DOC
-HTMLFORM BEGIN
!IBI.FIL.REPORT1;
<P STYLE="PAGE-BREAK-BEFORE: NEVER">
-HTMLFORM END 

-EXIT

This message has been edited. Last edited by: Kerry,


Production - 7.6.4
Sandbox - 7.6.4
 
Posts: 241 | Location: Bethesda, MD | Registered: August 14, 2007Report This Post
Expert
posted Hide Post
Seems to work for me,

Could it be the version of Word ?

I was using Word 2003


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
It works for me too.

I think tha the problem is because in my acual code, there is a section immediately above this that has the GRID turned off, and then this section has the GRID on.


Production - 7.6.4
Sandbox - 7.6.4
 
Posts: 241 | Location: Bethesda, MD | Registered: August 14, 2007Report This Post
Expert
posted Hide Post
Are you able to add the extra section in the sample code ?


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Backcolor Allignment Question

Copyright © 1996-2020 Information Builders