Closed qPCR4vir closed 9 years ago
Thank! Yes. I know the "copy" from textbox. But the lower level '''nana::system::dataexch().set(str);''' is a good hint. I was thinking in copying to the clipboard selected rows from a listbox. Probably I can paste a .csv string in an excel sheet or a text editor, and this can be a simple alternative to implement .csv export from my tables.
void listbox::copy() const
{
nana::string str{to_csv()};
nana::system::dataexch().set(str);
}
I can copy the value of a textbox by pressing Ctrl+C keys. Do you mention API? nana library uses
#include <nana/system/dataexch.hpp>
Here is an excerpt code fromtext_editor.cpp