Platforms to show: All Mac Windows Linux Cross-Platform

CanvasGesturesMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Controls MBS MacControls Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The class to catch canvas gesture events.

Please use one global instance of this class to catch the events for all canvases you track.

Updated class for v23.2 to work with DesktopCanvas control.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine


Release notes

  • Version 24.2
    • Added respondsToSelector to CanvasGesturesMBS class, so the system can query which events you implemented.
  • Version 24.1
    • Added touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent and touchesMovedWithEvent events to CanvasGesturesMBS class.
  • Version 23.2
  • Version 22.5
  • Version 19.2
    • Added scrollWheel and smartMagnifyWithEvent events to CanvasGesturesMBS class.
    • Changed CanvasGesturesMBS to call beginGestureWithEvent, even if NSResponder doesn't call it on MacOS 10.11 or newer.
  • Version 18.2

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

CalTaskMBS   -   CAPlayThroughMBS

The biggest plugin in space...