LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Progress Bar

I have created a custom horizontal progress bar .ctl.  (an example is attached).  On the left is my company logo and beneath the progress bar is some text.  As the progress bar progresses it slowly covers the text.  I would like for the text to be displayed on top? of the progress bar with white as the text color, as the progress bar moves to the right.  My reason being that the text is part of the company logo and having the progress bar slowly demolish the company logo as it moves to the right just wont do.  I haven't had any good ideas for how to get around this, and it is very possible that a custom progress bar is not the right solution here.  I welcome all suggestions.
Message 1 of 5
(4,548 Views)

Hi jmcbee,

 

You could place a free label atop the text.  The free label would also appear above the progress bar as it scrolls.  Aside from that, dare I say...XControls?

Message 2 of 5
(4,508 Views)
Thank you for the reply Steve.  I considered the XControl as well, but thought I would try picture controls first.  I ended up making my own version of the progress bar by overlaying two picture controls (one of the bottom logo, one of the top).  I use property nodes to read the height and width of the bottom logo, I wire the height of the bottom logo to the top logo and multiply the width of the bottom logo by the percentage of progress and wire this value to the width of the top logo.  After a bit of fine tuning I was able to produce the effect I was going for.
Message 3 of 5
(4,482 Views)
Well done jmcbee!  Thank you for posting the outline of the process.  It will help others with similar requirements.
Message 4 of 5
(4,476 Views)
I just wanted to say thanks for the file.  Just the thing that I was looking for Smiley Very Happy
0 Kudos
Message 5 of 5
(4,108 Views)