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 |
While the drag classes compile for Web Edition, they run on the server, so they have no effect on the client browser!
- 4 properties
- property DragImage as Picture
- property Handle as Integer
- property HelperHandle as Integer
- property Lasterror as Integer
- 27 methods
- method AddDragImage(pic as picture, width as Integer, height as Integer, x as Integer, y as Integer)
- method AddDragImage(pic as picture, width as Integer, height as Integer, x as Integer, y as Integer, ImageBackgroundColor as color)
- method AddFiles(files() as folderitem)
- method AddFiles(pathes() as string)
- method AddPicture(pic as picture)
- method AddRaw(format as Integer, data as string)
- method AddText(text as string)
- method Constructor
- method Constructor(files() as folderitem)
- method Constructor(pic as picture)
- method Constructor(text as string)
- method Formats as String()
- method GetFileContents(index as Integer) as string
- method GetFileContents(index as integer, byref IsPath as boolean) as string
- method GetFileDescriptors as WindowsFileDescriptorMBS()
- method GetFileName as string
- method GetPaths as folderitem()
- method GetPathStrings as string()
- method GetPicture as picture
- method GetRaw(format as Integer) as string
- method GetText as string
- method HasFileDescriptors as boolean
- method HasFileName as boolean
- method HasPaths as boolean
- method HasPicture as boolean
- method HasRaw(format as Integer) as boolean
- method HasText as boolean
- 17 constants
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.
Blog Entries
- MonkeyBread Software Releases the MBS Xojo Plugins in version 20.4
- MBS Xojo Plugins, version 20.4pr3
- MBS Xojo Plugins, version 20.3pr9
- MBS Xojo plug-ins in version 16.0
- MBS Xojo / Real Studio Plugins, version 16.0pr8
- More Drag & Drop on Windows
- MBS Xojo / Real Studio Plugins, version 15.5pr3
- MBS Real Studio Plugins, version 11.2pr4
- MBS REALbasic Plugins, version 10.6pr6
- MBS REALbasic Plugins, version 10.6pr5
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
- Added GetFileContents with isPath parameter to WinDataObjectMBS class.
Some methods using this class:
- WindowsDragSourceMBS.DoDragDrop(dataObject as WinDataObjectMBS, OKEffect as Integer, byref Effect as Integer) as Integer
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:
- /Win/Drag and Drop/Attachment Drop from Outlook
- /Win/Drag and Drop/File Drag
- /Win/Drag and Drop/File Drag Multi
- /Win/Drag and Drop/File Drop
- /Win/Drag and Drop/Folder Drag
- /Win/Drag and Drop/Picture Drag
- /Win/Drag and Drop/Picture Drag with Mask
- /Win/Drag and Drop/Picture Drop
- /Win/Drag and Drop/Picture Drop on control
- /Win/Drag and Drop/Text Drag
Some related classes:
The items on this page are in the following plugins: MBS Win Plugin.
