Platforms to show: All Mac Windows Linux Cross-Platform

Back to CanvasGesturesMBS class.

CanvasGesturesMBS.beginGestureWithEvent(can as Variant, e as NSEventMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that the user has begun a touch gesture.

e: An event object representing the gesture beginning.
The event will be sent to the view under the touch in the key window.


Available in Mac OS X v10.6 and later.
Return true if you handled this event.
Available in Mac OS X v10.6 and later.
Return true if you handled this event.

CanvasGesturesMBS.endGestureWithEvent(can as Variant, e as NSEventMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that the user has ended a touch gesture.

e: An event object representing the gesture end.

Available in Mac OS X v10.6 and later.
Return true if you handled this event.

CanvasGesturesMBS.magnifyWithEvent(can as Variant, e as NSEventMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that the user has begun a pinch gesture.

e: An event object representing the magnify gesture.
The event will be sent to the view under the touch in the key window.

Available in Mac OS X v10.6 and later.
Return true if you handled this event.

CanvasGesturesMBS.rotateWithEvent(can as Variant, e as NSEventMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that the user has begun a rotation gesture.

e: An event object representing the rotate gesture.
The event will be sent to the view under the touch in the key window.

Available in Mac OS X v10.6 and later.
Return true if you handled this event.

CanvasGesturesMBS.scrollWheel(can as Variant, e as NSEventMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 19.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that the mouse’s scroll wheel has moved.

The default implementation simply passes this message to the next responder.

e: An event object representing the swipe gesture.

The event will be sent to the view under the touch in the key window.
Return true if you handled this event.

CanvasGesturesMBS.smartMagnifyWithEvent(can as Variant, e as NSEventMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 19.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that the user performed a smart zoom gesture.

The smart zoom gesture is a two-finger double tap on trackpads. In response to this event, you should intelligently magnify the content.

e: An event object representing the swipe gesture.

The event will be sent to the view under the touch in the key window.
Return true if you handled this event.

Some examples using this event:

CanvasGesturesMBS.swipeWithEvent(can as Variant, e as NSEventMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 18.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that the user has begun a swipe gesture.

e: An event object representing the swipe gesture.
The event will be sent to the view under the touch in the key window.


Available in Mac OS X v10.6 and later.
Return true if you handled this event.
Available in Mac OS X v10.6 and later.
Return true if you handled this event.

CanvasGesturesMBS.touchesBeganWithEvent(can as Variant, e as NSEventMBS) as boolean   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 24.1 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that new set of touches has been recognized.

can: The Canvas or DesktopCanvas control.
e: An event object representing the beginning of a touch.

The system sends the event to the view under the touch in the key window.
This isn’t always the point of contact with the touch device. A touch that transitions from resting to active may be part of a touchesBeganWithEvent set.

Available in Mac OS X v10.6 and later.
Return true if you handled this event.

CanvasGesturesMBS.touchesCancelledWithEvent(can as Variant, e as NSEventMBS) as boolean   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 24.1 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that tracking of touches has been cancelled for any reason.

can: The Canvas or DesktopCanvas control.
e: An event object representing the cancellation of a touch event.

The event will be sent to the view under the touch in the key window.

Available in Mac OS X v10.6 and later.
Return true if you handled this event.

CanvasGesturesMBS.touchesEndedWithEvent(can as Variant, e as NSEventMBS) as boolean   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 24.1 ✅ Yes ❌ No ❌ No ❌ No
Returns that a set of touches have been removed.

can: The Canvas or DesktopCanvas control.
e: An event object representing the ending of a touch event.

The system sends the event to the view under the touch in the key window.

This isn’t always the point of removal with the touch device. A touch that transitions from active to resting may be part of an touchesEndedWithEvent set.

Available in Mac OS X v10.6 and later.
Return true if you handled this event.

CanvasGesturesMBS.touchesMovedWithEvent(can as Variant, e as NSEventMBS) as boolean   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacControls Plugin 24.1 ✅ Yes ❌ No ❌ No ❌ No
Informs the receiver that one or more touches has moved.

can: The Canvas or DesktopCanvas control.
e: An event object representing a touch movement.

The system sends the to the view under the touch in the key window.

Available in Mac OS X v10.6 and later.
Return true if you handled this event.

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


The biggest plugin in space...