LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multicolumn listbox, jump 1 cell down

Cant figure out why this little VI does not work.

Wan't to move edit cell 1 cell down using return.

The edit position is -2,-2 no matter what I do.

 

Capture.PNG

Download All
0 Kudos
Message 1 of 11
(4,311 Views)

Help file is your friend.

 

Capture.PNG

aputman
0 Kudos
Message 2 of 11
(4,282 Views)

Actually that's not the problem.  The control already has key focus by virtue of the fact that a key press event happened to it, so that portion of the help file is irrelevant.

 

What you need to do is change the event to a "Filter" event (the one with the question mark).  The problem is that the Key Down event occurs after the editing has been stopped, so you get -2,-2.  If you filter it, and set the "Discard?" output node to True on the Return key, it works the way I think you want it to work.

0 Kudos
Message 3 of 11
(4,276 Views)

This is a duplicate thread: http://forums.ni.com/t5/LabVIEW/Multicolumn-listbox-jump-1-cell-down/m-p/3341435



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 11
(4,263 Views)

@Kyle97330 wrote:

Actually that's not the problem.  The control already has key focus by virtue of the fact that a key press event happened to it, so that portion of the help file is irrelevant.

 


I don't think it's irrelevant.  Maybe for moving focus to the next row it is but in order to edit the next row, it is required.

aputman
0 Kudos
Message 5 of 11
(4,259 Views)

Multiple thread created

See the reply in below link

https://forums.ni.com/t5/LabVIEW/Multicolumn-listbox-jump-1-cell-down/td-p/3341435

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 6 of 11
(4,226 Views)

The funny ting is that I have an other example without text fokus and without filterevent which works fine.
Have a look on this VI:

 

0 Kudos
Message 7 of 11
(4,224 Views)

The funny ting is that I have an other example without text fokus and without filterevent which works fine.
Have a look on this VI:

 

0 Kudos
Message 8 of 11
(4,224 Views)

Check attached VI. whether it makes your requirement

MCL.png

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 9 of 11
(4,218 Views)

Thank you 🙂

But actually I want it on key down (return)

0 Kudos
Message 10 of 11
(4,205 Views)