LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vi Text Modification?

Hi

I am looking for some direction in how to modify the appearance of a
string indicator in my vi's front panel. I would like to remove the
rectangular box that surrounds the text to make it appear as it is a
just regular text on the front panel. The reason I want to do this is
that I would like be able to modify the text and its position
dynamically in the program.

Thanks
John
0 Kudos
Message 1 of 6
(2,873 Views)
For all except dialog controls/indicators, use the paintbrush on the tools palette. Move the tool over the area you want to change and right click. This will pop up a color palette. In LabVIEW 7, the transparent color is in the upper right hand corner. For some borders, you might also have to hit the space bar to select the correct area to color. The little box in the lower left corner shows the existing color and will be divided into two sections if there are that many areas that can be colored. More information can be found in the on-line help. In the index it can be found under Coloring fron panel objects.
0 Kudos
Message 2 of 6
(2,873 Views)
One way is to set the string background color and border to Transparent
In the attached vi, I could make a 2D string totally transparent,
but I was not able to make the 3D string's borders transparent. May be someone else can help with that
0 Kudos
Message 3 of 6
(2,873 Views)
Just change the foreground and background colors of the indicator to
transparent.

With the brush tool, right click on the indicator. In the pop-up, select T
for transparent. If necessary, use the space bar to switch between
foreground and background to change both.

"jpo" wrote in message
news:151s401d5gvliuf95gkujdiupkicstd0as@4ax.com...
> Hi
>
> I am looking for some direction in how to modify the appearance of a
> string indicator in my vi's front panel. I would like to remove the
> rectangular box that surrounds the text to make it appear as it is a
> just regular text on the front panel. The reason I want to do this is
> that I would like be able to modify the text and its position
> dynamically in the program.
>
> Thanks
> John
>
0 Kudos
Message 4 of 6
(2,873 Views)
The answer to your question is in my answer to the original post. If you right click on the board with the color tool, you'll see the box in the lower left corner with two different colors. One is grey and the other has a T in it? These are the foreground and background colors of the border (I don't know which is which). The T box has a white line around it. This is the one that's currently selected. If you hit the space bar once, the white box disappears and you can apply the selected color to both foreground and background. Hit the space bar again, and the white box moves to the left around the grey. The selected color will then apply only to that area.
0 Kudos
Message 5 of 6
(2,873 Views)
Thanks. That provide an answer to my question.

John

On Tue, 9 Mar 2004 14:18:38 -0600 (CST), Dennis Knutson
wrote:

>The answer to your question is in my answer to the original post. If
>you right click on the board with the color tool, you'll see the box
>in the lower left corner with two different colors. One is grey and
>the other has a T in it? These are the foreground and background
>colors of the border (I don't know which is which). The T box has a
>white line around it. This is the one that's currently selected. If
>you hit the space bar once, the white box disappears and you can apply
>the selected color to both foreground and background. Hit the space
>bar again, and the white box moves to the left around the grey. The
>selecte
d color will then apply only to that area.
0 Kudos
Message 6 of 6
(2,873 Views)