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: 

Only allow selection of items in listbox with SHIFT, disable CTRL

Solved!
Go to solution

Next Multicolumn Listbox question Smiley Happy

 

I want the user to be able to select a block of items with shift, but want to disable selection of random items with ctrl.

 

This should be possible:

grafik.png

 

This should not be possible:

grafik.png

 

Any ideas?

Thx in advance

0 Kudos
Message 1 of 4
(2,518 Views)

Hi tesla,

set selection mode to 1 or more items.(right click)

bp
0 Kudos
Message 2 of 4
(2,487 Views)
Solution
Accepted by Tesla1977

Hey,

 

unfortunately this would not prevent the user from selecting multiple items with CTRL.

 

I did this now:

grafik.png

Thanks for your attention.

 

Message 3 of 4
(2,472 Views)

Smiley Surprisednow understood your question properly..

bp
0 Kudos
Message 4 of 4
(2,468 Views)