LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change colour of background???

Hi,

Is it possible to use the property node to change the background of the string indicator? I've tried but the green color is only applied to the margins of the indicator. How can i apply the whole of the green color to the entire background of the string indicator?

I have attached my example. Can anyone please help me out in this problem?

Thanks alot

From
Don
0 Kudos
Message 1 of 8
(3,639 Views)
Hi,
To change the background color you will have to make use of the property TEXT BGColor,with this you will be able to change the background color of the string indicator.
cheers
vicky
0 Kudos
Message 2 of 8
(3,630 Views)
See the image attached
0 Kudos
Message 3 of 8
(3,629 Views)
Hi,

it's very funny, the example that u provided is exactly what i had did in my attached example. I've tried this method but it didn't work out. Could you please be more specific on how to make this work?

Thanks
0 Kudos
Message 4 of 8
(3,612 Views)
There are two Text.BGColor properties and they behave differently. The first can be found in the same group with Size, and is a general property of the decoration class that paints the BG of the control. The second can be found in the last group, inside Text Colors, and is specific to text controls. This is the one you want.
I understand why they work differently, but in my view, this is unwanted behaviour - 2 properties with the same name should behave the same, and the BG of the text should be the BG of the text, not just the BG of the text control.

Message Edited by tst on 04-11-2005 12:36 PM


___________________
Try to take over the world!
Message 5 of 8
(3,609 Views)
I would also point out that the example vi that you posted is changing the "FG" not the "BG".
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



Message 6 of 8
(3,592 Views)
Hi,


See if this is what you are looking for.
0 Kudos
Message 7 of 8
(3,581 Views)
Thanks tst, your reply has saved me a headache at 18:00 hours on a Sunday evening, 4,000+ miles from home.
 
Many. many thanks.

Message Edited by timpy on 10-14-2007 05:01 AM

0 Kudos
Message 8 of 8
(3,258 Views)