LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

select more than one row in a multicolum listbox

Hello!
 
I'm using a multicolumn listbox. I'm working with his property node and in this case with the Active Cell Atribute. I want to select four rows at time to change the foregroun color.....but a bundle only allows me to indicate a cell (a row and a column) and i want to select four rows of the same column at the time.....how i have to do it.
 
Thanks!
Larson
0 Kudos
Message 1 of 10
(4,304 Views)

Hi Larson

I'm afraid you can't select multiple rows. In LV7.0 you just can select a whole row or a whole column (and of course single cells).

To select a row, you have to wire the row index and -2 to the active cell property (see attachment).

More information you can find in the LV help for the active cell property.

Hope this helps.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 10
(4,299 Views)
This doesn't do *exactly* what you want to do, but the attached example allows you to select only a range in a multicolumn listbox.
I apologize in advance for a bogus "wrapper" because normally the VI is called from a much larger program.
0 Kudos
Message 3 of 10
(4,290 Views)

heLLO rOBERT.

 

Can you post the .llb in labview 7.0 version.

 

What i have to do to run a .llb, I have never use this kind of files.

 

Thank you very much!

Larson

0 Kudos
Message 4 of 10
(4,281 Views)
Here is a version that should work for v7.0. 

The .llb file was unnecessary, just easier to modify for my purposes.  It is a library file and it should open up with labview as well.  It allows you to bundle sets of vi's together (much like TAR for other files). 

I am not sure you can change the properties of the selected values, but you can definately grab selected ranges.

-Robert
0 Kudos
Message 5 of 10
(4,277 Views)
Becktho - thanks for the great tip!   -2?  Where did you pick _that_ up?
 
I entered (-2,-2) - nothing,  (until you cover the list-box with another window....)
 
(pls forgive all the edits, am trying to join the embedded HTML club)

Message Edited by Dynamik on 11-16-2005 10:43 AM

Message Edited by Dynamik on 11-16-2005 10:44 AM

When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 6 of 10
(4,270 Views)
Hello robert again.....
 
I'm sorry but this vi is not compatible with labview 7.0.
I'm very interested in this code.
 
Someone can post this vi in labview 7.0
 
Thanks!!
Larson
0 Kudos
Message 7 of 10
(4,261 Views)
Here you go larson...
When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 8 of 10
(4,250 Views)
That's from the property's help file. Just right click the property and select "help for ..." in the context menu and the appropriate help window opens.
 
Thomas
 
  

Message Edited by becktho on 11-17-2005 07:16 AM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Download All
0 Kudos
Message 9 of 10
(4,238 Views)

That's humbling - so many corners unexplored (by me(yet))

Great map BTW, thanks again. Smiley Happy

When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 10 of 10
(4,229 Views)