LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Editing Listbox Run Time

Help says you can edit the cells but it does not work on my system.  Running LV 8.0.  The cells will not go into edit mode even with Editable Cells enabled.
Matt
 

Editing Listbox and Tree Control Cells at Run Time

Complete the following steps to edit cells in a listbox or tree control at run time.

  1. Right-click the listbox or tree control and select Editable Cells from the shortcut menu to allow users to edit cells at run time. You also can use the Allow Editing Cells property to programmatically allow users to edit cells in a single-column listbox, multicolumn listbox, or tree control.
  2. At run time, click the cell text you want to edit, and click it a second time after a short pause.
  3. Enter the text you want.

Use the Edit Cell event to handle the event that a user changes text in the cell of a single-column listbox, multicolumn listbox, or tree control.

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 1 of 9
(5,407 Views)
I have no problem editing Listbox cells on my system. Your vi works : as requested, it opens the message window when switching to edit mode.
Chilly Charly    (aka CC)
Message 2 of 9
(5,397 Views)
CC,
 
I am runing 8.0 and have not installed the patch to 8.0.1.  I checked the readme for the patch and there was nothing about the patch fixing this issue.  So, what version are you running?
 
Matt
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 3 of 9
(5,385 Views)
It now works on a different PC that does have the 8.0.1 applied.  Seems that the patch is the fix.
 
Matt

Message Edited by mfitzsimons on 05-15-2006 10:26 AM

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 4 of 9
(5,376 Views)

Matt

Just tried your VI in version 8.0 and its fine.

David

Message 5 of 9
(5,373 Views)

David,

Now this is scarry!  Some sort of PC dependency or corruption with my install.  The multicolumn listbox did cause LabVIEW to crash.  Maybe the issue is with my install.  Any ideas on if running LV repair will fix issues with LV 8.0?  The PC does have LV 7.1 and 8.0 on it.

Thanks,

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 6 of 9
(5,371 Views)

Matt

Sorry. Not had to do any labview install repairs so I can't speak from experience. I agree that might be you next step. But before you do that...

Does rebuilding your vi always behave the same way?

I built a LV8 vi and tested it here. Does it work on your PC?

David

ps: Forgot to default the listbox

Message Edited by David Crawford on 05-15-2006 04:41 PM

Message 7 of 9
(5,368 Views)

It works fine at work.  I will have to try your version at home tonight (aka the problem PC)

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 8 of 9
(5,360 Views)

Seems that LabVIEW has healed itself.  Everything is working fine today.  Looks like it just needed a reboot.

Thanks!

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 9 of 9
(5,342 Views)