lisbox - ctrl+c

Started by juniorolisp, August 09, 2016, 10:19:02 AM

Previous topic - Next topic

juniorolisp

Hello
Is it possible to copy data from "listbox" with ctrl + c

cadplayer

Yes I guess dcl-ListBox-GetSelectedItems give you all items as string in a list!

juniorolisp

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?

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]