Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Sep 21, 2017 1:59 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Paste FolderItem like Drag and Drop?
PostPosted: Fri May 03, 2013 7:38 am 
Offline

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
 Profile  
Reply with quote  
 Post subject: Re: Paste FolderItem like Drag and Drop?
PostPosted: Fri May 03, 2013 9:44 am 
Offline

Joined: Fri Dec 01, 2006 3:09 pm
Posts: 650
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
 Profile  
Reply with quote  
 Post subject: Re: Paste FolderItem like Drag and Drop?
PostPosted: Fri May 03, 2013 10:36 am 
Offline

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
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group