LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i use Itemsyms in a first column?

I want to use use Itemsyms in my first column of mulitlist box. But it always exist with first content of ItemNames. I want to

 

know whether I can put a Itemsyms in a single column and data in other columns. Should i create a null string array and set it as

 

a first column?  And the Itemsyms only can be put in the first column?

 

I feel confused now after try many times. 😞

 

please give me help.

 

attached my vi.

 

By the way, When i try to set number of row and column of list box, for column, the set value is 5, but the value get from property is 4.

 

I don't know the reason.

 

thanks

 

br.

 

Download All
0 Kudos
Message 1 of 11
(3,523 Views)
By the way, When i try to set number of row and column of list box, for column, the set value is 5, but the value get from property is 4.
 
Looks like a LabVIEW bug to me.  If you hide ROW HEADERS you get what you ask for.  If you show ROW headers, it "consumes" column 0 for the headers.
If you ask for 5 rows with COLUMN HEADERS on, you get 5 data rows + header (as expected). Not so with ROW HEADERS. 
 
I tried this in LV 8.5, .8.2, and 8.0 - they're all the same way. 
 
I have reported this to tech support. 
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 11
(3,517 Views)

Hi,

 

Thanks.

 

How about other my questions? Please give me your advice.

 

Thanks.

 

Message 3 of 11
(3,487 Views)

mmm2006 wrote:

Hi,

 

Thanks.

 

How about other my questions? Please give me your advice.

 

Thanks.

 


 


mmm2006 wrote:

I want to use use Itemsyms in my first column of mulitlist box. But it always exist with first content of ItemNames. I want to

 

know whether I can put a Itemsyms in a single column and data in other columns. Should i create a null string array and set it as

 

a first column?  And the Itemsyms only can be put in the first column?

 

I feel confused now after try many times. 😞

 

please give me help.


I do not understand this term "Itemsyms". Smiley Indifferent

 

If you create a "null string array", your first column will become empty. You want this way or you want to replace your data in the first column? Both are different... Smiley Wink

 

You can very weel put your "Itemsyms" in a single column & data in others. Smiley Happy

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 4 of 11
(3,477 Views)

Hi, Partha,

I only want to add a symble into first column and data in other column.

 

Please tell me how to do it.

 

Thanks.

 

br.

0 Kudos
Message 5 of 11
(3,467 Views)

Hi, all.

 

keep asking. Appreciate any help about this problem.

 

Thanks.

0 Kudos
Message 6 of 11
(3,454 Views)

It seems that the itemsyms only applys to the first item column of the MClistbox (it seems that you want to add the symbols on the row heads of the box, but it seems not possible currently). So you can create the string array (which is used as the item name) with the first column empty. So the first column of the box is filled with the symbols and the item name begin from the 2nd column. Please refer to the VI I attached.

District Sales Manager | Shanghai Pudong, China
0 Kudos
Message 7 of 11
(3,449 Views)

hi,rui_huang

Thank you very much.

 

I will try.

 

Br.

 

 

0 Kudos
Message 8 of 11
(3,439 Views)

HI,

 

When operation, there is a rectangle in cell,just like my attached picture.

 

Is there no other solution?

 

Thanks.

0 Kudos
Message 9 of 11
(3,424 Views)

I tried for some time. It seems that the rectangle cannot be removed and is used to indicate that the cell is being selected.

District Sales Manager | Shanghai Pudong, China
0 Kudos
Message 10 of 11
(3,411 Views)