From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copy and Paste a cell of a Multicolumn Listbox

Solved!
Go to solution

Good day.


I have a simply but tricky question here. How can i enabling the Copy and Paste (CTRL+C CTRL+V) function for a single cell of a Multicolumn Listbox? I have developed an entire application using the Multicolumn Listbox and then i found that i can't copy the data.....

 

Thank you in advance for your time,

 

Francesco

0 Kudos
Message 1 of 7
(4,795 Views)
Solution
Accepted by topic author FM82

You can extract the data into an indicator and then copy that data to your clipboard. You can throw this code into an event structure so that it executes at the press of a button.

 

Copy data to clipboard.png

Message 2 of 7
(4,776 Views)

This could work if i want to copy the entire row, what if i want only one cell?

 

By the way, thank you for the interest.

0 Kudos
Message 3 of 7
(4,745 Views)
Solution
Accepted by topic author FM82

Hello,

 

there is an invoke node in the App- Section:

 

Copy to Clipboard.png

 

So you have to extract the string from your cell and copy this to clipboard. And with paste operation vice versa...

 

Greets, Dave
Message 4 of 7
(4,724 Views)

Ok, this could work. I need to managing the highlighting of the cell programmatically, it is not a clean interface but it can work. What if i also want to capture the CTRL-C and CTRL-V combination?

0 Kudos
Message 5 of 7
(4,703 Views)

Found out by myself. Thank you guys!
Yours help was appreciated.

0 Kudos
Message 6 of 7
(4,697 Views)

I have exactly the same question as you.

Would you whare your solution with me ?

Jean-Louis SCHRICKE
CTA - Certified TestStand Architect (2008 - 2022)
CTD - Certified TestStand Developer (2004 & 2007)
CLD - Certified LabVIEW Developer (2003 & 2005)

0 Kudos
Message 7 of 7
(3,855 Views)