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]TABHEADING Border for one line only

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]TABHEADING Border for one line only
 Login/Join
 
Guru
posted
I am trying to put a border around 1 line and not the others in my tabheading. If I user the command below without the LINE command it works for the whole tabheading, but I can't get it to work just for one line. Is this possible?

TYPE=TABHEADING,
BORDER-TOP=MEDIUM,
BORDER-BOTTOM=MEDIUM,
BORDER-LEFT=MEDIUM,
BORDER-RIGHT=MEDIUM,
BORDER-TOP-COLOR='SILVER',
BORDER-BOTTOM-COLOR='SILVER',
BORDER-LEFT-COLOR='SILVER',
BORDER-RIGHT-COLOR='SILVER', LINE=1,$

This message has been edited. Last edited by: Jay Potter,


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report This Post
Expert
posted Hide Post
This is a long requested feature that does not exist using normal styling methods. For HTML reports you can do it using CSS. Here's an example using HTMTABLE output:

TABLE FILE CAR
SUM
SALES
BY
COUNTRY 
ON TABLE SUBHEAD
"WEBFOCUS REPORT TABHEAD 1"
"WEBFOCUS REPORT TABHEAD 2"
"WEBFOCUS REPORT TABHEAD 3"

ON TABLE HOLD AS HREPORT1 FORMAT HTMTABLE

ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON

ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON, FONT='ARIAL', SIZE=9, BORDER=OFF, $

TYPE=TABHEADING, STYLE=BOLD, COLOR=BLUE, $

TYPE=TABHEADING, LINE=2, CLASS=TEXTBORDER, $

TYPE=TITLE, BORDER=1, BORDER-COLOR=SILVER, $
TYPE=DATA, BORDER=1, BORDER-COLOR=SILVER, $
ENDSTYLE
END
-RUN

-HTMLFORM BEGIN
<html>
<head>
<style>
.TEXTBORDER {
color: blue; font-weight: bold; font-size: 9pt; border: 2px solid silver;
}
</style>
</head>
<body>
!IBI.FIL.HREPORT1;
</body>
</html>
-HTMLFORM END


You can also use CSS for HTML output, by putting the CSS in a file and using CSSURL to link "to an External Cascading Style Sheet".


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
Thanks

It looks like I will be able to use it.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report 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]TABHEADING Border for one line only

Copyright © 1996-2020 Information Builders