From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Positioning fixed active cell in multicolumn listbox

Solved!
Go to solution

Hi guys, I have a problem and maybe you can help me.

 

I'm trying to make program for choosing something (time string in this case). I want to have one fixed cell in middle of multicolumn listbox with active value and when button is clicked values go right or left. See below.

 

1.PNG

 

1. By clicking on button "Right" it should swich to:

2.PNG

2. one more click on same button it should switch to:

3.PNG

and so on. Same thing is in other direction.

 

Is this possible to achieve with multicolumn listbox? The total width of listbox should be fixed and should not be able to change.

 

Also afted changing active cell and stoping the program, and running again "reinitialize to default " doesnt work because last highlihgted cell stays 200px wide and it shoulg go back to 100px like shown on picture below.

 

7.PNG

 

What am I doing wrong?

 

Thank you for your help! 

Download All
0 Kudos
Message 1 of 3
(3,061 Views)
Solution
Accepted by topic author SecondBatman

Something like this?

Message 2 of 3
(3,040 Views)

You sir are my hero! Thank you very much

0 Kudos
Message 3 of 3
(3,030 Views)