New topic: 

Dropping multiple folder items onto the window.

<http://forums.realsoftware.com/viewtopic.php?t=46442>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        BrianOBrien          Post subject: Dropping multiple folder 
items onto the window.Posted: Sat Jan 05, 2013 1:05 am                          
       
Joined: Wed Jul 07, 2010 2:55 pm
Posts: 640
Location: University Of Calgary, Faculty Of Medicine                How does 
one determine if multiple folder items were dropped on a window?      
_________________
If at first you don't succeed... Try REALBasic.  
                             Top                timhare          Post subject: 
Re: Dropping multiple folder items onto the window.Posted: Sat Jan 05, 2013 
1:48 am                         
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 11944
Location: Portland, OR  USA                You mean in the DropObject event?  
Call NextItem on the DragItem object until it returns false.
if obj.FolderItemAvailable then
  do
  // process the current file
  msgbox obj.FolderItem.Name
  while obj.NextItem
  end
   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 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]

Reply via email to