LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i get the data present in the selected row at run time in Multicolumn list box?

Hi,
I am using multicolumn list box with three columns and i am having OK button.
If the user selects particular row and then press ok then that row datas(that 3 values) has to get update in the file.
 
Can u tell me how to get that selected row values alone and also how to append the list box value at run time?
 
Thanks
Meenatchi
0 Kudos
Message 1 of 7
(3,221 Views)
Use Double-Clicking a Row to get Data, instead of selecting [single-click] a row.
Because Double-click event gives you the row number you ve selected [clicked], so it is easy.
 
See the attached VI.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 7
(3,215 Views)

Sorry, forgot to answer your 2nd que...

Use the Itemnames property to update the values of the Multicolumn listbox at run-time.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 3 of 7
(3,214 Views)
Can u tell me How to delete the particular row of the multicolumn list box at run time?
0 Kudos
Message 4 of 7
(3,211 Views)
You can simply use the Value property of the MLBox to get the row selected & wire it to the Delete from array function with the Itemnames of the MLBox as the Input & Output of the Delate from array function.
 
See the attached VI.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 5 of 7
(3,209 Views)

Hi
Thanks for ur reply,
I am having Add button.Once the user press the add button it will open one dialog with user id and password string control.
That entered data has to be get update in the list box.
Please tell me the way to do

 

Regards

Meenatchi

0 Kudos
Message 6 of 7
(3,202 Views)


 


@Meenatchi wrote:

I am having Add button.Once the user press the add button it will open one dialog with user id and password string control.
That entered data has to be get update in the list box.


Pass your User ID & Password out of the 1-button dialog VI as a Str Arr. Take this & append it to the Itemnames property of the Listbox in the Main VI.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 7 of 7
(3,195 Views)