New topic: 

Assign folderitem to dragitem

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

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       WD_web           Post subject: Assign folderitem to 
dragitemPosted: Thu Jan 28, 2010 4:39 pm                        
Joined: Mon Jun 19, 2006 11:46 am
Posts: 9              I have an app that accepts drag and drop.
I test the obj (dragitem) and then send it to a processing routine.

I also allow the user to use the select folder dialog rather than drop.

On Windows, after the user selects the folder I create a new DragItem and 
assign the folderitem to its folderitem property

  ftmParent = dlgFolder.ShowModal
  
  if ftmParent = nil then
  
  exit
  
  end if
  
  dim obj As new DragItem
  
  obj.FolderItem = ftmParent

I can then pass obj to my processing routine as a dragitem object

However, on the MAC, I cannot assign the folderitem to the obj. It remains Nil.

Any ideas?

It is REALLY going to mess my code up if I can't pass the dragitem object to my 
routine!

TIA   
                            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]

Reply via email to