LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

listbox radiobuttons

I like the functionalisty of Radio Buttons, but you can't easily load radiobutton options at runtime, allowing for dynamically generated options. Therefore, I devised a way to use a listbox to behave like radiobuttons. In the attached example, you can click on invidual items in a listbox to turn them on and off, and you can click and drag within a listbox to toggle multiple values at once. Coloring of items to make this dragging more intutive required dynamically setting events.

 

I think this is pretty user friendly, but it was a lot of work to set up!

 

The listbox functionalty is handled by an asynchorously run VI, which is also re-entrant, so that multiple listboxes can be hanled ina  single application. I've over-ridden the background color of the selected listbox items and rely on the listbox symbol to indicate the selected items.

 

I'd welcome any feedback on this technique.

_____________
Creator of the BundleMagic plugin for LabVIEW!
0 Kudos
Message 1 of 1
(2,387 Views)