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

CGEventMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics Events MBS MacCF Plugin 17.4 Yes No No Yes, macOS only No
Function: The private constructor.

Feedback, Comments & Corrections

CGEventMBS.Copy as CGEventMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreGraphics Events MBS MacCF Plugin 17.4 Yes No No Yes, macOS only No
Function: Return a copy of event.

Feedback, Comments & Corrections

CGEventMBS.DoubleValueField(field as Integer) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreGraphics Events MBS MacCF Plugin 17.4 Yes No No Yes, macOS only No
Function: The floating-point value of a field in an event.
Notes:
Before setting a value, the event type must be set using a typed event creation function such as CGEventCreateMouseEvent, or by setting type property.

If you are creating a mouse event generated by a tablet, call this function and specify the field kCGMouseEventSubtype with a value of kCGEventMouseSubtypeTabletPoint or kCGEventMouseSubtypeTabletProximity before setting other parameters.
(Read and Write computed property)

Feedback, Comments & Corrections

CGEventMBS.IntegerValueField(field as Integer) as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property CoreGraphics Events MBS MacCF Plugin 17.4 Yes No No Yes, macOS only No
Function: The integer value of a field in an event.
Notes:
Before calling this function, the event type must be set using a typed event creation function such as CGEventCreateMouseEvent, or by setting type property.

In cases where the field value is represented within the event by a fixed point number or an integer, the result is scaled to the appropriate range as part of creating the floating-point representation.
(Read and Write computed property)

Feedback, Comments & Corrections

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




Links
MBS Xojo tutorial videos