Platforms to show: All Mac Windows Linux Cross-Platform
Back to ClipboardMBS class.
ClipboardMBS.AddData(FlavorType as string,data as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ClipboardMBS.AddText(Text as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ClipboardMBS.AddUnicodeText(Text as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
UTF16 encoded strings only.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
You must clear before you add something.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
There is no need to call this method except you want to free all resources of this object now without waiting for Xojo to do it for you.
ClipboardMBS.DataAvailable(FlavorType as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ClipboardMBS.DataSize(FlavorType as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ClipboardMBS.GetData(FlavorType as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ClipboardMBS.GetText as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ClipboardMBS.GetUnicodeText as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
UTF16 encoded strings only.
ClipboardMBS.PictAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ClipboardMBS.ScrapFlavorCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Calling this function recreates the internal flavor list in the Xojo clipboard object.
ClipboardMBS.ScrapFlavorFlags(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Index goes from 0 to count-1.
Returns 0 on any error.
Flags are a combination of type values:
1 - private data (Sender only)
2 - translated data
ClipboardMBS.ScrapFlavorType(index as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Index goes from 0 to count-1.
Returns "" on any error.
ClipboardMBS.TextAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ClipboardMBS.TextSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ClipboardMBS.UnicodeTextAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
UTF16 encoded strings only.
ClipboardMBS.UnicodeTextSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Clipboard | MBS MacClassic Plugin | 4.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
UTF16 encoded strings only.
The items on this page are in the following plugins: MBS MacClassic Plugin.