Jump to content

Multicolumn listbox- copy/paste


Recommended Posts

Hi all,

         In my application, I need to copy some of the row values from a multicolumn listbox control and paste the selected row in the next row of the same control.

When we right click on the control I see- Copy Data/ Paste Data options- but how does it work?

 

post-16569-0-19105600-1370734339_thumb.j

 

 

 

 

Thanks for your time and help.!!!

 

 

Sharon

Link to comment

That "Copy Data" and "Paste Data" will copy the data in the control.  For a Multicolumn Listbox this usually means a scalar I32 of which row is selected.  If you pasted the data into another listbox it would be set to the row you choose on the other.  You will need to perform your own copy and paste routine if you want to copy a row of data and not the row index itself.

Edited by hooovahh
Link to comment

Ditto what hooovahh said (for right click menu).

If you just want to copy the text from one location to another, use the edit/cut/paste in the labview main menu which are mapped to Ctrl+C, Ctrl+V etc.

It may seem a pain for things like a text control where you are used to windows copy and paste on a right click menu, but it makes more sense when you are copying entire arrays or clusters.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.