New topic: Cocoa and drag and drop
<http://forums.realsoftware.com/viewtopic.php?t=46444> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message tomprins Post subject: Cocoa and drag and dropPosted: Sat Jan 05, 2013 5:13 am Joined: Thu Oct 01, 2009 4:53 pm Posts: 42 When I want to drop a picture in an Imagewell it works well with this code In the Open even me.AcceptPictureDrop and in the Dropobject event If Obj.PictureAvailable then Me.Image=Obj.Picture elseif Obj.FolderItemAvailable then Me.Image=Picture.Open(obj.FolderItem) end if Actually it works well in Mac Carbon and in Windows, it is standardcode. But when I want to build with Cocoa the picturefile is rejected in the Imagewell when I want to drop it. It is the same code, so I wonder whether this is an known problem or a bug. I can reproduce it and it allways works in Windows and Carbon and never in Cocoa. I cannot imagine that RS has the problem that Drag and Drop with pictures does not work in Cocoa. I'd like to have it working but I cannot figure it out. Any ideas? mvrgr Tom Prins Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- 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]
