LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MULTI COLUMN LISTBOX

iIs there a way to select, with mouse pointer, multiple cells within a multicolumn listbox? I do not want to select a row or column, just multiple cells. Thank you for your time.
0 Kudos
Message 1 of 6
(3,435 Views)
0 Kudos
Message 2 of 6
(3,421 Views)
Thanx for the info, unfortunately their example is actually is a table and it only selects one cell at a time. I am looking to select multiple cells  (not columns or rows, while holding the control key down and clicking with the mouse) within a multicolumn listbox. Thanx again
0 Kudos
Message 3 of 6
(3,407 Views)
The example you want to look at is the one in reply #2, which indicates to use the ActiveCell property and then to set the background color. That is what you essentially have to do. You have to simulate the selection of cells. The cells themselves are not being "selected". When you make a "selection" you're always selecting a row. Basically, you just need to respond to the "Mouse Up" event for the listbox, find out which cell was being clicked, and then set the background color for it to indicate "selection".

The attached example is something to get you started.
0 Kudos
Message 4 of 6
(3,389 Views)
Thanx
0 Kudos
Message 5 of 6
(3,386 Views)
I recently posted a similar example in a recent thread here.
Message 6 of 6
(3,368 Views)