Platforms to show: All Mac Windows Linux Cross-Platform

WinDataObjectMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Drag & Drop MBS Win Plugin 10.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The class for a data object for Drag and Drop.
Example
// take some picture
Var p as Picture = LogoMBS(500)

// create data object
Var w as new WinDataObjectMBS(p)

While the drag classes compile for Web Edition, they run on the server, so they have no effect on the client browser!

Constants

Constant Value Description
CF_BITMAP 2 One of the constants for the data types.
CF_DIB 8 One of the constants for the data types.
CF_DIBV5 17 One of the constants for the data types.
CF_DIF 5 One of the constants for the data types.
CF_ENHMETAFILE 14 One of the constants for the data types.
CF_HDROP 15 One of the constants for the data types.
CF_LOCALE 16 One of the constants for the data types.
CF_METAFILEPICT 3 One of the constants for the data types.
CF_OEMTEXT 7 One of the constants for the data types.
CF_PALETTE 9 One of the constants for the data types.
CF_PENDATA 10 One of the constants for the data types.
CF_RIFF 11 One of the constants for the data types.
CF_SYLK 4 One of the constants for the data types.
CF_TEXT 1 One of the constants for the data types.
CF_TIFF 6 One of the constants for the data types.
CF_UNICODETEXT 13 One of the constants for the data types.
CF_WAVE 12 One of the constants for the data types.

This class has no sub classes.

Some methods using this class:

Some events using this class:

  • WindowsDropTargetMBS.DragEnter(dataObject as WinDataObjectMBS, keystate as Integer, x as Integer, y as Integer, byref effect as Integer) as Integer
  • WindowsDropTargetMBS.Drop(dataObject as WinDataObjectMBS, keystate as Integer, x as Integer, y as Integer, byref effect as Integer) as Integer

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 20.4
    • Added support to WinDataObjectMBS class to receive email attachments with email messages from Outlook.
  • Version 20.3

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


WIAVideoMBS   -   Window


The biggest plugin in space...