LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to filled background percentage

Solved!
Go to solution

         I want  to fill the control  background as 10%  20%  100% just like the progress bar,how can I do it?

xin
Certified LabVIEW Architect (CLA)
Certified TestStand Architect (CTA)
0 Kudos
Message 1 of 7
(2,165 Views)

Hi ziziran,

 


@ziziran wrote:

         I want  to fill the control  background as 10%  20%  100% just like the progress bar,how can I do it?


First paint the control transparent, then place it in front of a progress bar…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(2,141 Views)

 

Please start over and explain the problem your are trying to solve. LabVIEW has hundreds of controls (boolean, numeric, table, enums, string, etc etc. And you don't give any clue of what you actually mean.

 

What is the purpose of the control? Is it really a control or an indicator?

What does the progress indicator do? How often does it update and where does the data come from?

 

Please attach a simple draft showing your code skeleton and we will find an easy solution.

0 Kudos
Message 3 of 7
(2,100 Views)

 I want  program filled the background of the button or list

xin
Certified LabVIEW Architect (CLA)
Certified TestStand Architect (CTA)
0 Kudos
Message 4 of 7
(2,077 Views)

Hi ziziran,

 


@ziziran wrote:

 I want  program filled the background of the button or list


Then do what I suggested…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 7
(2,062 Views)
Solution
Accepted by topic author ziziran

@ziziran wrote:

 I want  program filled the background of the button or list


You seem to have an array of buttons (or maybe a radiobutton control? Or a cluster of buttons?... who knowns?!)

You also have a listbox. What do you mean by "button or list"?  Do you want a progress bar on one button or on each of the buttons and/or also on the listbox, or just "somewhere" on exactly one of these elements? Why not place the progress bar separately and make life simpler?

 

Have you tried Gerd's suggestion? How far did you get?

 

(Why do you think you need to attach a 7MB photograph if attaching a 2kB VI would have been much more helpful! With a VI we can look at the code and data structures to give much more specific advice!)

0 Kudos
Message 6 of 7
(2,057 Views)

thanks, I used   Gerd's suggestion.

xin
Certified LabVIEW Architect (CLA)
Certified TestStand Architect (CTA)
0 Kudos
Message 7 of 7
(2,010 Views)