Focal Point
[CLOSED] DS HTML Composer: How do you change the colour of the active tab?

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

November 20, 2011, 09:05 PM
Francis Mariani
[CLOSED] DS HTML Composer: How do you change the colour of the active tab?
I'd like to get rid of that "gold" border at the top of the active tab, I changed the colour in the code (I know I'm not supposed to do that), but within the same editing session of the HTML page, it changes back to gold! Is this based on some template or stylesheet that we have no control over?

Thanks

This message has been edited. Last edited by: Francis Mariani,


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
November 20, 2011, 09:57 PM
Waz
I had a look at the javascript that is used, and it looks like (Not Sure, looked as 7.7.01) it takes the colour from the default active tab.

There is also a hardcoded default that is set to Gold, in ibirls3.js

Very confusing!


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!

November 21, 2011, 07:37 AM
David Glick
There are properties in the Property Sheet of the tab control for this starting in release 7703. Prior to that release you cannot change the color.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
November 21, 2011, 10:59 AM
Francis Mariani
v7.7.02 - Funny how you can modify the colour of the tab body border, but not the tab border itself.


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
November 21, 2011, 03:25 PM
Waz
I think I need? to update DS. Big Grin


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!

November 21, 2011, 03:27 PM
Norb Eckert
Francis,

It's an iterative development process. Ver. 7.7.02 you get to modify the tab body border and in ver. 7.7.03 you get to modify the tab border. You gotta go with the flow, Dude! Wink

Norb


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
November 22, 2011, 11:00 AM
Francis Mariani
I'm on an ice flow and can't get off!

I am now in v7.7.03 and see nothing about styling the "edges" of the tab control. I select the tab and then click on Styling: Advanced (CSS) to open the Style Composer - I see Font, Background, Text, Position, Layout, Lists, Other. Usually you also see Edges. So how do I style the edges of the tab control?


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
November 22, 2011, 11:21 AM
njsden
Francis,

I can see this option in my environment:



In the properties window, I have a composite component that looks like this:

tab1 <SPAN>
 |_ tabitem1 <SPAN>
 |_ tabitembody1 <SPAN>


When selecting the main "tab1" component, you are given the option to change a few settings of the tab. 'Selected color' is defaulted to "gold" and can be changed via that property.

Caveat: Dev Studio 7.7.03 Hotfix 1.

Hope that helps.

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



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
November 22, 2011, 12:05 PM
Francis Mariani
Neftali,

Thanks for checking into this for me. Yes, I have this option in v7.7.03 (no hotfix). I somehow didn't see all these new options.

Would have been nice if these properties were available in v7.7.02 though, where you can change the colour of the tab body border but not the tab itself.

Solved for v7.7.03!


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
November 22, 2011, 06:52 PM
njsden
Would you please edit your original post and prefix its title with [SOLVED]? Music



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
November 22, 2011, 08:10 PM
Francis Mariani
Done. It would be nice if the forum software allowed for longer post titles - very often you have to modify the title to add [CLOSED].

Thanks,


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
November 22, 2011, 08:18 PM
Waz
It would be nicer to have a status against the post, instead of changing the title.


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!