Re: Copy or Drag from a listbox?

2017-03-09 Thread Keith Goebel via 4D_Tech
I’d like to offer a belated thank you to everyone who replied to my post and offered suggestions how to do it. Much food for thought. Cheers, Keith ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html

Re: Copy or Drag from a listbox?

2017-03-07 Thread info--- via 4D_Tech
when using selection listbox don't forget QuickReport for exporting. - create a qr - copy listbox-columns into qr-columns - use selection - set qr destination - qr run done Regards O r t w i n Z i l l g e n - Mitglied des

Re: Copy or Drag from a listbox?

2017-03-07 Thread Arnaud de Montard via 4D_Tech
> Le 7 mars 2017 à 10:33, Koen Van Hooreweghe via 4D_Tech > <4d_tech@lists.4d.com> a écrit : > > [...] > > I have done something similar from a button on the form, but the list box was > array based. A bit easier, because I could loop over the arrays to get the > data out of them. With a

Re: Copy or Drag from a listbox?

2017-03-07 Thread Koen Van Hooreweghe via 4D_Tech
Hi Keith, For copy/paste you have to put a tab delimited text on the pasteboard. First of all you'll have to intercept the cmd-c and Copy menu items in 4D to make it run your code when the listbox has focus. Then run over the selected lines (records) to get the data. Finally loop over the

Re: Copy or Drag from a listbox?

2017-03-06 Thread Chip Scheide via 4D_Tech
I do not have any ideas to add to the suggestions for getting the data out of 4D. BUT - to D multiple line hold the option/alt key while dragging On Tue, 7 Mar 2017 08:26:04 +1300, Keith Goebel via 4D_Tech wrote: > Hi all. > A client has asked: > I have the list (selection based listbox)

Re: Copy or Drag from a listbox?

2017-03-06 Thread Scott Staley via 4D_Tech
just execute SET TEXT TO PASTEBOARD($t_theData) to put the text variable into the clipboard. The components can be downloaded from the above link. -- View this message in context: http://4d.1045681.n5.nabble.com/Copy-or-Drag-from-a-listbox-tp5750587p5750601.html Sent from the 4D Tech mailing list

Re: Copy or Drag from a listbox?

2017-03-06 Thread Keith Goebel via 4D_Tech
Thanks to John and Kirk for your ideas. Cheers, Keith ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech

Re: Copy or Drag from a listbox?

2017-03-06 Thread Spencer Hinsdale via 4D_Tech
http://kb.4d.com/assetid=49867 ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options:

Copy or Drag from a listbox?

2017-03-06 Thread Keith Goebel via 4D_Tech
Hi all. A client has asked: I have the list (selection based listbox) showing the records I'm interested in, and I have set the columns to show only those I want and put them in the order I want them (all available from the list interface). Why can't I select the rows and copy/paste or drag