LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the background of a String Control Transparent?

Solved!
Go to solution

Dear all,

Is it possible to make the background of a String Control Transparent?

 

Thanks,
Ritesh

0 Kudos
Message 1 of 14
(8,980 Views)
Solution
Accepted by topic author LVCoder

 

Hi there

 

Yes, it is. During edit time use the Color tool and select transparent (the "T" symbol in the upper right corner of the color selection dialog) for the background color. At runtime use the "Text:Text Colors:BG Color" property of the string control.

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 14
(8,977 Views)

Thanks chris.

Its working.

Now, can i make the borders of the Indicator Box also Transparent ?

 

Thanks,

Ritesh

0 Kudos
Message 3 of 14
(8,971 Views)

The approach to get the borders transparent is similar, use the paint tool and right-click on the border.

 

Choose transparent for the color and hit space to switch between front and background color.

 

In this case hover over T and hit space...and you will see the border go away.

Message 4 of 14
(8,961 Views)
Yes, but you have to use a "Classic String Control" (Modern or system type wont work)
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Message 5 of 14
(8,960 Views)
Only the dialog type will refuse to have its colors changed (because its look is dictated by the OS), the modern type will work just like the classic.
0 Kudos
Message 6 of 14
(8,958 Views)

Hey thanks Guys.

i was applying the same approac but wasn't getting the Border go transparent. probably because i was using the modern indicator.

its working perfect on Classic Indicator. :smileyhappy:

 

Thanks,

Ritesh

0 Kudos
Message 7 of 14
(8,951 Views)
Modern and classic works, dialog not. You may have a problem finding the right spot on the border on the modern type, but it is possible.
0 Kudos
Message 8 of 14
(8,946 Views)
The classic control "Simple string" doesn't even have a border that needs coloring, its the best option for transparent string controls.
Regards,
André (CLA, CLED)
0 Kudos
Message 9 of 14
(8,945 Views)

@ Mads,

R u sure that we can make the border of Modern Control Transparent?

I have tried on all the positions of the border but it doesn't seem to be working.

 

I think because the modern controls are 3D in nature, so its not possible to make them transparent.

 

Correct me if i am wrong.

 

Ritesh

0 Kudos
Message 10 of 14
(8,937 Views)