|class||Cocoa||MBS MacCocoa Plugin||14.2||✅ Yes||❌ No||❌ No||❌ No||Desktop only|
This class must be subclassed to implement services.
Use ServiceInvoked as the name of the selector when declaring service (NSMessage parameter).
Use NSUserData parameter to distinguish between all the services you offer.
This class implements NSServiceProvider for Xojo and Xojo for Cocoa applications. For Carbon, please use CarbonApplicationEventsMBS events.
- 4 events
- event readSelectionFromPasteboard(pboard as NSPasteboardMBS) as Boolean
- event ServiceInvoked(pboard as NSPasteboardMBS, userData as string, byref error as string)
- event validRequestor(sendType as String, returnType as String) as Boolean
- event writeSelectionToPasteboard(pboard as NSPasteboardMBS, types() as String) as Boolean
- property Handle as Integer
- 2 methods
This class has no sub classes.
Some properties using for this class:
- NSApplicationMBS.servicesProvider as NSServiceProviderMBS
Some examples using this class:
- MBS Xojo Plugins, version 20.6pr2
- MBS Xojo / Real Studio plug-ins in version 14.2
- MBS Xojo / Real Studio Plugins, version 14.2pr4
The items on this page are in the following plugins: MBS MacCocoa Plugin.
MBS Xojo Plugins