Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     (SOLVED) Using BACKCOLOR within TABHEADING with spot markers
Go
New
Search
Notify
Tools
Reply
  
(SOLVED) Using BACKCOLOR within TABHEADING with spot markers
 Login/Join
 
Master
posted
I have a heading in a spreadsheet that looks something like this
Yellow Background - Child has Turned 17
Green Background - Child turns 17 in one week
Purple Background - Child turns 17 in two weeks
Plain Background - Child turns 17 within the 6 month reporting period


The code looks like this:
ON TABLE SUBHEAD
"Yellow Background <+0> - Child has Turned 17"
"Green Background <+0> - Child turns 17 in one week"
"Purple Background <+0> - Child turns 17 in two weeks"
"Plain Background - Child turns 17 within the 6 month reporting period"


Relevant Style sheet looks like this:
 TYPE=TABHEADING,SIZE=11,STYLE=BOLD,BACKCOLOR=SILVER,$
 TYPE=TABHEADING,LINE=1,ITEM=1,BACKCOLOR=RGB(255 255 153),$  
 TYPE=TABHEADING,LINE=2,ITEM=1,BACKCOLOR=RGB(204 255 204),$
 TYPE=TABHEADING,LINE=3,ITEM=1,BACKCOLOR=RGB(204 153 255),$


While I can apply -BOLD, Italics, text color to the left or right of the spot marker, backcolor does not work, it colors the whole line. What I want is for the "Yellow Background" to have yellow as the background color and the rest of the line be the default backcolor of silver. Any one know why this does not work or what I am doing wrong?

It does the same thing in 7.1.3 or 7.6.11.

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


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 938 | Location: Oklahoma City | Registered: October 27, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
What format is the report ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6131 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
<JG>
posted
quote:
I have a heading in a spreadsheet

To close to Christmas Waz.
You already been at the egg nog?
 
Reply With QuoteReport This Post
Expert
posted Hide Post
Your output is combining the entire row as one item owing to the default column spanning. To effect what you want you will need to "split" the subheading into individual cells using HEADALIGN=BODY within the TABHEADING styling.

The downside is that if your first column is fairly narrow then it will expand to match the width of the subheading. You will also ned to add a spot marker to the fourth line of heading to ensure that the alignment of the subheading text is assured.

Happy holidays one and all.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5616 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
quote:
To close to Christmas Waz.
You already been at the egg nog?

I think perhaps its not enough.



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6131 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Master
posted Hide Post
Thanks Tony.

That explains what is happening. Think I'll put in a NFR.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 938 | Location: Oklahoma City | Registered: October 27, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     (SOLVED) Using BACKCOLOR within TABHEADING with spot markers

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.