I throw the data i want dropped into an object for dragndrop. Then when i drop I know what iam getting as i include the table and record numbers. Where i dragged it from(process,form,object) are also included. Made my listbox drag an drop so much easier to handle and very generic.
Sent from my iPhone > On Aug 12, 2019, at 3:06 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I am dragging and dropping 1 or more records from 1 process onto a > listbox in a second process. > > I see that I can use the pasteboard to mange the data during this > action. > > However....(dragging 1 record) > I am looking at the data types returned by GET PASTEBOARD DATA TYPE > com.4d.private.pid & com.4d.private.Form.Object -- neither of these > makes much sense to me. > > By using GET PASTEBOARD DATA i get a blob which is either > 4 bytes (com.4d.private.pid) > or > 524 bytes (com.4d.private.object.form) > > I do not know what to do with either of these blocks of data... can > someone point me in the right direction. > > The drop area is allowed to accept data from 5 different tables. > I need to be able to differentiate which table the data is from, & > which record(s) were dropped. > > Once I have which ever of the above data types hand, what do I do with > them to extract the needed information. > > Thanks > Chip > > --------------- > Gas is for washing parts > Alcohol is for drinkin' > Nitromethane is for racing > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************