Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

DragItems (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: Purchasing a printed Language Reference
Next thread: removing an container control


Win32 API Declares   -   Berg, Heath
  DragItems   -   Daniel Lee

DragItems
Date: 19.08.05 16:51 (Fri, 19 Aug 2005 08:51:23 -0700)
From: Daniel Lee
I am trying to work with DragItems for the first time, I am hoping someone
can help me solve my conundrum:

When an object is dropped on the canvas in Window1:

me.backdrop=target
me.acceptfileDrop("any")

I want it to open Window2:

Sub DropObject(obj As DragItem)
Window2.Show
EndSub

And pass the value of the DragItem to Window2 so that I can accomplish
something like this::

if obj.folderItemAvailable then
destination=DocumentsFolder
source=obj.folderItem

The last part is where I am having a problem. I haven¹t been able to pass
the ³obj² value from one window to the other.

Thanks,
Dan

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>