Xojo Developer Conference
Join us from 25th to 27th April 2018 in Denver.

Platforms to show: All Mac Windows Linux Cross-Platform

NSPasteboardMBS class

class, Clipboard, MBS CocoaBase Plugin (NSPasteBoard), class NSPasteboardMBS,
Plugin version: 10.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The class for the clipboard access on Cocoa.
dim p as new NSPasteboardMBS

MsgBox join(p.types,EndOfLine)
NSPasteboard objects transfer data to and from the pasteboard server. The server is shared by all running applications. It contains data that the user has cut or copied, as well as other data that one application wants to transfer to another. NSPasteboard objects are an application's sole interface to the server and to all pasteboard operations.

An NSPasteboard object is also used to transfer data between applications and service providers listed in each application's Services menu. The drag pasteboard (NSDragPboard) is used to transfer data that is being dragged by the user.

The plugin class NSPasteboardMBS does not implement all features of the NSPasteboard. If you miss something, please email us.

This class has no sub classes.

Some methods using this class:

Some events for this class:

Some examples which use this class:

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

NSPasteboardItemMBS   -   NSPathComponentCellMBS

MBS Xojo Plugins