Platforms to show: All Mac Windows Linux Cross-Platform
CarbonEventsScrapMBS class Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This item is deprecated and should no longer be used.
You can use NSPasteboardMBS for Cocoa instead.
A class for a clipboard used for the carbon service events.
This is Carbon API. You may want to prefer NSPasteboardMBS class for new projects.
- 2 properties
- 19 methods
- method AddData(FlavorType as string,data as string)
- method AddText(Text as string)
- method AddUnicodeText(Text as string)
- method clear
- method DataAvailable(FlavorType as string) as boolean
- method DataSize(FlavorType as string) as Integer
- method FlavorCount as Integer
- method FlavorFlags(index as Integer) as Integer
- method FlavorType(index as Integer) as string
- method GetData(FlavorType as string) as string
- method GetFile(byref file as folderitem) as boolean
- method GetFile(byref file as folderitem, byref type as string, byref creator as string, byref flags as Integer) as boolean
- method GetText as string
- method GetUnicodeText as string
- method PictAvailable as boolean
- method TextAvailable as boolean
- method TextSize as Integer
- method UnicodeTextAvailable as boolean
- method UnicodeTextSize as Integer
This class has no sub classes.
Some events using this class:
- CarbonApplicationEventsMBS.ServiceCopy(Scrap as CarbonEventsScrapMBS) as boolean
- CarbonApplicationEventsMBS.ServicePaste(Scrap as CarbonEventsScrapMBS) as boolean
- CarbonApplicationEventsMBS.ServicePerform(Scrap as CarbonEventsScrapMBS, MessageName as CFStringMBS, UserData as CFStringMBS) as boolean
Some examples using this class:
Blog Entries
- Cleanup Xojo Plugins
- MBS Xojo Plugins, version 19.4pr1
- MBS Real Studio Plugins, version 12.4pr1
- Teaser: Clipboard classes
Release notes
- Version 19.4
- Deprecated CarbonEventsScrapMBS, CarbonApplicationEventsMBS and CarbonWindowsEventsMBS classes.
The items on this page are in the following plugins: MBS MacCF Plugin.
CarbonEventsIdleTimerMBS - CarbonEventsTabletPointMBS