OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: juniorolisp on August 09, 2016, 10:19:02 AM

Title: lisbox - ctrl+c
Post by: juniorolisp on August 09, 2016, 10:19:02 AM
Hello
Is it possible to copy data from "listbox" with ctrl + c
Title: Re: lisbox - ctrl+c
Post by: cadplayer on August 09, 2016, 10:23:10 AM
Yes I guess dcl-ListBox-GetSelectedItems give you all items as string in a list!
Title: Re: lisbox - ctrl+c
Post by: juniorolisp on August 09, 2016, 11:10:16 AM
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?
Title: Re: lisbox - ctrl+c
Post by: Fred Tomke on August 16, 2016, 06:54:08 AM
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