Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

NSEventMBS.pointingDeviceSerialNumber as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the vendor-assigned serial number of a pointing device of a certain type.
Notes:
Devices of different types, such as a puck and a pen, may have the same serial number. The receiver of this message should be a mouse event object with subtype NSTabletProximityEventSubtype or an event of type NSTabletProximity.

Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.pointingDeviceType as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns a NSPointingDeviceType constant indicating the kind of pointing device associated with the receiver.
Notes:
For example, the device could be a pen, eraser, or cursor pointing device. This method is valid for mouse events with subtype NSTabletProximityEventSubtype and for NSTabletProximity events. See "Constants" for descriptions of valid NSPointingDeviceType constants.

Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.pressure as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.1 Yes No No Yes, macOS only No
Function: Returns a value from 0.0 through 1.0 indicating the pressure applied to the input device (used for appropriate devices).
Notes:
For devices that aren't pressure-sensitive, the value is either 0.0 or 1.0. Raises an NSInternalInconsistencyException if sent to a nonmouse event.

For tablet pointing devices that are in proximity, the pressure value is 0.0 if they are not actually touching the tablet. As the device is pressed into the tablet, the value is increased.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.rotation as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.7 Yes No No Yes, macOS only No
Function: Returns the rotation in degrees of the tablet pointing device associated with the receiver.
Notes:
Many devices do not support rotation, in which case the returned value is 0.0. This method is valid only for mouse events with subtype NSTabletPointEventSubtype and for NSTabletPoint events.

Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.scrollingDeltaX as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 13.1 Yes No No Yes, macOS only No
Function: Returns the scroll wheel horizontal delta.
Notes:
This is the preferred method for accessing NSScrollWheel delta values. When hasPreciseScrollingDeltas returns false, your application may which to modify this value.

Available in OS X v10.7 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.scrollingDeltaY as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 13.1 Yes No No Yes, macOS only No
Function: Returns the scroll wheel vertical delta.
Notes:
This is the preferred method for accessing NSScrollWheel delta values. When hasPreciseScrollingDeltas returns false, multiply the value returned by this method by the line or row height. Otherwise scroll by the returned amount.

Available in OS X v10.7 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.stage as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 15.1 Yes No No Yes, macOS only No
Function: The stage of pressure events.
Notes:
This message is valid for NSEventTypePressure events.
Pressure gesture events go through multiple stages.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.stageTransition as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 15.1 Yes No No Yes, macOS only No
Function: The stage transition for pressure events.
Notes:
This message is valid for NSEventTypePressure events. Positive stageTransition describes approaching the next stage of the pressure gesture. Negative stageTransition describes approaching release of the current stage.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.subtype as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 7.7 Yes No No Yes, macOS only No
Function: Returns the subtype of the receiving event object.
Notes:
Raises an NSInternalInconsistencyException if sent to an event not of type NSAppKitDefined, NSSystemDefined, NSApplicationDefined, or NSPeriodic.

NSPeriodic events don't use this attribute.

This method is also valid for mouse events on Mac OS X v10.4 and later. See the predefined mouse and tablet subtypes.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.systemTabletID as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the index of the tablet device connected to the system.
Notes:
If multiple tablets are connected to the system, the system-tablet ID is incremented for each subsequent one. If there is only one tablet device, its system-tablet ID is zero. The receiver of this message should be a mouse event object with subtype NSTabletProximityEventSubtype or an event of type NSTabletProximity.

Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.tabletID as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the USB model identifier of the tablet device associated with the receiver.
Notes:
This method is valid for mouse events with subtype NSTabletProximityEventSubtype and for NSTabletProximity events.
Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.tangentialPressure as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 8.7 Yes No No Yes, macOS only No
Function: Reports the tangential pressure on the device that generated the event represented by the receiver.
Notes:
The value returned can range from -1.0 to 1.0. Tangential pressure is also known as barrel pressure. Only some pointing devices support tangential pressure. This method is valid for mouse events with subtype NSTabletPointEventSubtype and for NSTabletPoint events.

Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.tilt as NSPointMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.1 Yes No No Yes, macOS only No
Function: Reports the scaled tilt values of the pointing device that generated the event represented by the receiver.
Notes:
The value returned can range from -1.0 to 1.0 for both axes. An x-coordinate value that is negative indicates a tilt to the left and a positive value indicates a tilt to the right; a y-coordinate value that is negative indicates a tilt to the top and a positive value indicates a tilt to the bottom. If the device is perfectly perpendicular to the table surface, the values are 0.0 for both axes. This method is valid for mouse events with subtype NSTabletPointEventSubtype and for NSTabletPoint events.

Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.timestamp as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 7.7 Yes No No Yes, macOS only No
Function: Returns the time the receiver occurred in seconds since system startup.
Notes: (Read only property)

Feedback, Comments & Corrections

NSEventMBS.trackingNumber as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.1 Yes No No Yes, macOS only No
Function: Returns the identifier of a mouse-tracking event.
Notes:
This method returns either an NSTrackingArea object or a NSTrackingRectTag constant depending on whether the event was generated from an NSTrackingArea object or a call to addTrackingRect:owner:userData:assumeInside:. Valid mouse-tracking methods are of types NSMouseEntered, NSMouseExited, and NSCursorUpdate. This method raises an NSInternalInconsistencyException if sent to any other type of event.

The NSTrackingArea class is new with Mac OS X version 10.5
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.type as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 7.7 Yes No No Yes, macOS only No
Function: The type of the receiving event.
Notes:
The type must be one of the following:

NSLeftMouseDown
NSLeftMouseUp
NSRightMouseDown
NSRightMouseUp
NSOtherMouseDown
NSOtherMouseUp
NSMouseMoved
NSLeftMouseDragged
NSRightMouseDragged
NSOtherMouseDragged
NSMouseEntered
NSMouseExited
NSKeyDown
NSKeyUp
NSFlagsChanged
NSAppKitDefined
NSSystemDefined
NSApplicationDefined
NSPeriodic
NSCursorUpdate
NSScrollWheel
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.uniqueID as UInt64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the unique identifier of the pointing device that generated the event represented by the receiver.
Notes:
Also known as tool ID, this is a unique number recorded in the chip inside every pointing device. The unique ID makes it possible to assign a specific pointing device to a specific tablet. You can also use it to "sign" documents or to restrict access to document layers to a specific pointing device. This method is valid for mouse events with subtype NSTabletProximityEventSubtype and for NSTabletProximity events.
Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.vendorID as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the vendor identifier of the tablet associated with the receiver.
Notes:
The tablet is typically a USB device. This method is valid only for mouse events with subtype NSTabletProximityEventSubtype and for NSTabletProximity events.
Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.vendorPointingDeviceType as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns a coded bit field whose set bits indicate the type of pointing device (within a vendor selection) associated with the receiver.
Notes:
See the vendor documentation for an interpretation of significant bits. This method is valid only for mouse events with subtype NSTabletProximityEventSubtype and for NSTabletProximity events.
Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.window as NSWindowMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.1 Yes No No Yes, macOS only No
Function: Returns the window object associated with the receiver.
Notes:
A periodic event, however, has no window; in this case the return value is undefined.
(Read only property)

Feedback, Comments & Corrections

NSEventMBS.windowNumber as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa MBS MacBase Plugin 9.1 Yes No No Yes, macOS only No
Function: Returns the identifier for the window device associated with the receiver.
Notes:
A periodic event, however, has no window; in this case the return value is undefined.
(Read only property)

Feedback, Comments & Corrections

Previous items

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




Links
MBS Xojo Chart Plugins