New topic: Paste FolderItem like Drag and Drop?
<http://forums.realsoftware.com/viewtopic.php?t=47775> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message hgumbert Post subject: Paste FolderItem like Drag and Drop?Posted: Fri May 03, 2013 7:38 am Joined: Sat Aug 11, 2007 10:19 am Posts: 4 Right now I can Drag and Drop a file into my app and I can receive the DropObject event. That rocks. Is there a way to paste a FolderItem, like an image or any other file for that matter, and then receive an event? Also, is there a way to drag an image from Safari into a window as if it was a FolderItem? That doesn't behave like a dragged FolderItem from what I can tell. I'm ok with taking the pasted item or dragged image and transforming it into a FolderItem, but I'm just not sure how to find out what they pasted or dragged. Thanks in advance! Hal Gumbert, CampSoftware.com Top harriew Post subject: Re: Paste FolderItem like Drag and Drop?Posted: Fri May 03, 2013 9:44 am Joined: Fri Dec 01, 2006 3:09 pm Posts: 648 Location: Tennessee, USA You should look at the "Drag and Drop" section of the Users Guide. Particularly the section that tells how to determine the type of drop object received when you can accept more than one type. http://docs.realsoftware.com/index.php/UsersGuide:Chapter_5:Drag_and_Drop Top hgumbert Post subject: Re: Paste FolderItem like Drag and Drop?Posted: Fri May 03, 2013 10:36 am Joined: Sat Aug 11, 2007 10:19 am Posts: 4 Thanks! I read that and I didn't see the difference between AcceptTextDrop, AcceptPictureDrop, and AcceptFileDrop (Type). It's clear now! Thank you. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
