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) Using BACKCOLOR within TABHEADING with spot markers

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(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: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Expert
posted Hide Post
What format is the report ?


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
<JG>
posted
quote:
I have a heading in a spreadsheet

To close to Christmas Waz.
You already been at the egg nog?
 
Report 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.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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.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
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: 975 | Location: Oklahoma City | Registered: October 27, 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) Using BACKCOLOR within TABHEADING with spot markers

Copyright © 1996-2020 Information Builders