lisbox - ctrl+c

Started by juniorolisp · 2016-08-09 17:19 UTC · 3 replies · SMF topic #2406

Hello
Is it possible to copy data from "listbox" with ctrl + c
Yes I guess dcl-ListBox-GetSelectedItems give you all items as string in a list!
Well, I not quite understand. I would like to use the abbreviation "windows".
Unfortunately, after its use nothing is copied.
Maybe I should set a window  "listbox" property?
Hello, no, it is not possible by now because there is no built-in clipboard technology. If you want to write it by your own, you will see that there is no OnKeyDown event for this. You can solve that by using ListView instead. I use that and it works fine. You only need a clipboard technology for that. I call an own  .NET lisp for that. Maybe doslib have such a function, too. But I don't know because I don't use doslib.
Regards, Fred