LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

System Tab Backgorund color changes

Solved!
Go to solution

I want to mimic a standard windows tab look (attached).

I use freetext as a header on a System Recessed frame which is on a System Tab to logically group controls.

However, depending on the height of the freetext, the background color of the freetext does not match the System Tab (attached).

And no other system color seems to either?

 

Is there an easy work around for this?

 

[cross post] 

http://forums.lavag.org/Freetext-On-System-Tab-Background-Color-t12346.html 

Message Edited by jg code on 11-06-2008 08:20 PM
Certified LabVIEW Architect * LabVIEW Champion
Message 1 of 10
(6,049 Views)

Hi jg code,Smiley Tongue

      I'm not sure I understand your question - it seems to be how to set the FG and BG color of text(?)

To adjust text color, select the text of interest, pull-down the "text-settings" selector (on tool-bar) and choose color. 

To adjust the BG of text, select the paint-brush.and right-click on the text you want to change.  Use the space-bar to toggle between the edge or the "field" of the BG.  ("Field" is my word.)

http://forums.ni.com/ni/attachments/ni/170/367154/1/FG_BG.JPG

 

(embedded jpg doesn't seem to be working?) 

 

Sorry if I misunderstand!.

 

Cheers.

Message Edited by tbd on 11-06-2008 08:57 PM
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 2 of 10
(6,033 Views)

Hi tbd

Thanks for the reply

Sorry, I hope that is clearer?

 

My questions is:

 

Why is there a difference between the background color of the system tab at different heights?

How to I account for this? 

Evident from the fact the same background freetext color appears different to the system tab at different heights.

 

 

Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 3 of 10
(6,021 Views)

Sorry jg -

    I don't know what a "System Tab" or a "System Recessed Frame" is and don't see them on Decorations pallet in 8.5.1.  This is also the first time I've heard the term "freetext" in the context of LabVIEW (I assumed you meant front-panel text created with the text-tool

 

 Re: "Evident from the fact the same background freetext color appears different to the system tab at different heights."

 

In your JPG I don't see any difference in text colors on the LabVIEW tab - Foreground or Background - only differences in FG color on the JPG of the Windows dialog.

 

Your question seems to imply that some text-property might automatically change with the "scope" or nested-ness of a decoration object - this is a new concept for me!  I don't know of any LabVIEW decorations that behave this way!

 

If this is really a LabVIEW question, I expect to learn something new if/when somebody else can provide an answer!

 

Cheers..

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 4 of 10
(6,004 Views)

I suggest you look at your palette a little closer - I too use LV8.5.1

 

The "system tab" is located on the system palette (2nd bottom left)

The "system recessed frame" is on the system palette (bottom left)

Free text is text not assigned to a control, aka a "label" on the decorations palette (bottom left)

 

"Your question seems to imply that some text-property might automatically change with the "scope" or nested-ness of a decoration object"

 

No, what I am saying is the the system tab appears to change its color gradient in the vertical direction.

 

The two labels circled have the same FG/BG color but they appear in different contrast to the system tab.

One blends in, the other looks white. 

 

The labels next to these -  I have tried other system colors to match the label FG/BG color to the system tab at that height but I cannot.

I want it to look like the windows's example.

 

Stop smoking crack

Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 5 of 10
(5,999 Views)

Smiley Tongue

 

Switching between two projects/LV versions, had been looking for System palette in LV7.1...

 

The difference in BG color was so subtle, I didn't see it!

 

Thanks for you patience - sincere apologies for taking this post off the "Unanswered" list.

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 6 of 10
(5,987 Views)
Solution
Accepted by topic author jgcode
Solution in cross post
Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 7 of 10
(5,975 Views)

Hi jgcode,

 

What do you mean by the solution is at the cross post?  I have a similar problem, see link below.

 

http://forums.ni.com/t5/LabVIEW/tab-control-background-color-matching/m-p/1533096

 

Can the solution help me?  Thanks!

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 8 of 10
(4,502 Views)

 


@jyang72211 wrote:

Hi jgcode,

 

What do you mean by the solution is at the cross post?  I have a similar problem, see link below.

 

http://forums.ni.com/t5/LabVIEW/tab-control-background-color-matching/m-p/1533096

 

Can the solution help me?  Thanks!


 

Yer original link is old (from LAVA 1) - here is the relink:

http://lavag.org/topic/8787-freetext-on-system-tab-background-color/page__p__52631__fromsearch__1#en...

Certified LabVIEW Architect * LabVIEW Champion
Message 9 of 10
(4,495 Views)

This is awesome.  I have seen that system label before, but I just ignored it, thinking that it is completely redundent, since free text would do the same job (I thought).  Learn something new everyday.  Now my panel looks much much better.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 10 of 10
(4,489 Views)