Platforms to show: All Mac Windows Linux Cross-Platform

DragReceiverMBS.AttachWindow(win as window) as boolean
method, Drag & Drop, MBS REALbasic Mac Plugin (Drag), class DragReceiverMBS, Plugin version: 3.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Attaches this object to the given window.
Notes:
Returns true on success.
You can only attach to one object to one window at once.
You can pass nil to attach to all of your windows.
DragReceiverMBS.AttachWindowHandle(win as integer) as boolean
method, Drag & Drop, MBS REALbasic Mac Plugin (Drag), class DragReceiverMBS, Plugin version: 3.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Attaches this object to the window given using the window handle.
Example:
dim d as DragReceiverMBS // your receiver
dim b as boolean
b=d.AttachWindowHandle(MyOverlayWindow.handle)
Notes:
Returns true on success.
You can only attach to one object to one window at once.
You can pass 0 to attach to all of your windows.
class DragReceiverMBS
class, Drag & Drop, MBS REALbasic Mac Plugin (Drag), class DragReceiverMBS, Plugin version: 3.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: A class for a drag receiver.
Notes: Whenever you drop something on a window and the Drag Tracker accepted the DragItem, your DragReceiver will get it finally.
DragReceiverMBS.close
method, Drag & Drop, MBS REALbasic Mac Plugin (Drag), class DragReceiverMBS, Plugin version: 3.4, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: The destructor.
Notes:
There is no need to call this method except you want to free all resources of this object now without waiting for Realbasic to do it for you.
(e.g. some Realbasic versions crash on Windows if there are plugin objects not closed.)
DragReceiverMBS.Received(drag as DragItemMBS) as boolean
event, Drag & Drop, MBS REALbasic Mac Plugin (Drag), class DragReceiverMBS, Plugin version: 3.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Called whenever someone dropped something on your window and the DragTracker accepted it.
Notes: Return true if you accept the given drag item.
DragReceiverMBS.WindowHandle as Integer
property, Drag & Drop, MBS REALbasic Mac Plugin (Drag), class DragReceiverMBS, Plugin version: 3.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The handle of the used window.
Notes:
0 if not attached to a window.
(Read only property)

The items on this page are in the following plugins: MBS REALbasic Mac Plugin.




Links
MBS REALstudio Plugins - Pfarrgemeinde St. Arnulf Nickenich