Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

CarbonWindowsEventsMBS.GestureEnded(GlobalMouseX as Double, GlobalMouseY as Double, WindowHandle as Integer, WindowMouseX as Double, WindowMouseY as Double, WindowPartCode as Integer, KeyModifiers as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 9.0 Yes No No No No
Function: This event is called when the gesture ends.
Notes:
GlobalMouseX and GlobalMouseY specify the mouse position. If WindowHandle is not 0, it contains the handle for the current window on that mouse position and WindowMouseX/WindowMouseY specify the window relative position. The WindowPartCode specifies which part of the window was hit. (See WindowPartCode definition in Apple documentation.)

Possible values for the key modifier:
activeFlag= 1= &h000001
btnState= 128= &h000080
cmdKey= 256= &h000100
shiftKey= 512= &h000200
alphaLock= 1024= &h000400
optionKey= 2048= &h000800
controlKey= 4096= &h001000
rightShiftKey= 8192= &h002000
rightOptionKey= 16384= &h004000
rightControlKey= 32768= &h008000
NumLock= 65536= &h010000
Fn= 131072= &h020000

Return true if you handled the event.

Supported on Mac OS X 10.5.5 and newer.
If not supported with the current hardware, this event is never called.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.GestureMagnify(GlobalMouseX as Double, GlobalMouseY as Double, WindowHandle as Integer, WindowMouseX as Double, WindowMouseY as Double, WindowPartCode as Integer, KeyModifiers as Integer, MagnificationAmount as Double) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 9.0 Yes No No No No
Function: This event is called several times while the magnify gesture is performed.
Notes:
MagnificationAmount the magnification amount.

GlobalMouseX and GlobalMouseY specify the mouse position. If WindowHandle is not 0, it contains the handle for the current window on that mouse position and WindowMouseX/WindowMouseY specify the window relative position. The WindowPartCode specifies which part of the window was hit. (See WindowPartCode definition in Apple documentation.)

Possible values for the key modifier:
activeFlag= 1= &h000001
btnState= 128= &h000080
cmdKey= 256= &h000100
shiftKey= 512= &h000200
alphaLock= 1024= &h000400
optionKey= 2048= &h000800
controlKey= 4096= &h001000
rightShiftKey= 8192= &h002000
rightOptionKey= 16384= &h004000
rightControlKey= 32768= &h008000
NumLock= 65536= &h010000
Fn= 131072= &h020000

Return true if you handled the event.

Supported on Mac OS X 10.5.5 and newer.
If not supported with the current hardware, this event is never called.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.GestureRotate(GlobalMouseX as Double, GlobalMouseY as Double, WindowHandle as Integer, WindowMouseX as Double, WindowMouseY as Double, WindowPartCode as Integer, KeyModifiers as Integer, RotationAmount as Double) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 9.0 Yes No No No No
Function: This event is called several times while the rotation gesture is performed.
Notes:
The RotationAmount in polar coordinates.

GlobalMouseX and GlobalMouseY specify the mouse position. If WindowHandle is not 0, it contains the handle for the current window on that mouse position and WindowMouseX/WindowMouseY specify the window relative position. The WindowPartCode specifies which part of the window was hit. (See WindowPartCode definition in Apple documentation.)

Possible values for the key modifier:
activeFlag= 1= &h000001
btnState= 128= &h000080
cmdKey= 256= &h000100
shiftKey= 512= &h000200
alphaLock= 1024= &h000400
optionKey= 2048= &h000800
controlKey= 4096= &h001000
rightShiftKey= 8192= &h002000
rightOptionKey= 16384= &h004000
rightControlKey= 32768= &h008000
NumLock= 65536= &h010000
Fn= 131072= &h020000

Return true if you handled the event.

Supported on Mac OS X 10.5.5 and newer.
If not supported with the current hardware, this event is never called.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.GestureStarted(GlobalMouseX as Double, GlobalMouseY as Double, WindowHandle as Integer, WindowMouseX as Double, WindowMouseY as Double, WindowPartCode as Integer, KeyModifiers as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 9.0 Yes No No No No
Function: This event is called when a gesture starts.
Notes:
GlobalMouseX and GlobalMouseY specify the mouse position. If WindowHandle is not 0, it contains the handle for the current window on that mouse position and WindowMouseX/WindowMouseY specify the window relative position. The WindowPartCode specifies which part of the window was hit. (See WindowPartCode definition in Apple documentation.)

Possible values for the key modifier:
activeFlag= 1= &h000001
btnState= 128= &h000080
cmdKey= 256= &h000100
shiftKey= 512= &h000200
alphaLock= 1024= &h000400
optionKey= 2048= &h000800
controlKey= 4096= &h001000
rightShiftKey= 8192= &h002000
rightOptionKey= 16384= &h004000
rightControlKey= 32768= &h008000
NumLock= 65536= &h010000
Fn= 131072= &h020000

Return true if you handled the event.

Supported on Mac OS X 10.5.5 and newer.
If not supported with the current hardware, this event is never called.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.GestureSwipe(GlobalMouseX as Double, GlobalMouseY as Double, WindowHandle as Integer, WindowMouseX as Double, WindowMouseY as Double, WindowPartCode as Integer, KeyModifiers as Integer, SwipeDirectionX as Double, SwipeDirectionY as Double) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 9.0 Yes No No No No
Function: This event is called for a swipe gesture.
Notes:
SwipeDirectionX and SwipeDirectionY specify the swipe direction.

GlobalMouseX and GlobalMouseY specify the mouse position. If WindowHandle is not 0, it contains the handle for the current window on that mouse position and WindowMouseX/WindowMouseY specify the window relative position. The WindowPartCode specifies which part of the window was hit. (See WindowPartCode definition in Apple documentation.)

Possible values for the key modifier:
activeFlag= 1= &h000001
btnState= 128= &h000080
cmdKey= 256= &h000100
shiftKey= 512= &h000200
alphaLock= 1024= &h000400
optionKey= 2048= &h000800
controlKey= 4096= &h001000
rightShiftKey= 8192= &h002000
rightOptionKey= 16384= &h004000
rightControlKey= 32768= &h008000
NumLock= 65536= &h010000
Fn= 131072= &h020000

Return true if you handled the event.

Supported on Mac OS X 10.5.5 and newer.
If not supported with the current hardware, this event is never called.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.MouseDown(x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 3.3 Yes No No No No
Function: An event which fires when a mousebuton is down.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.MouseDragged(x as single, y as single, modifierKeys as Integer, deltax as single, deltay as single, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 3.3 Yes No No No No
Function: An event which fires when the mouse is dragged.
Notes:
In case the tablet property is true, the TabletPoint or the TabletProximity property is filled with an object.

Tablet functions may or may not work in Xojo's debug mode (some RB versions work and some not).

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.MouseMoved(x as single, y as single, modifierKeys as Integer, deltax as single, deltay as single) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 3.3 Yes No No No No
Function: An event which fires when the mouse is moved.
Notes:
In case the tablet property is true, the TabletPoint or the TabletProximity property is filled with an object.

Tablet functions may or may not work in Xojo's debug mode (some RB versions work and some not).

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.MouseUp(x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 3.3 Yes No No No No
Function: An event which fires when a mousebutton is released.
Notes:
In case the tablet property is true, the TabletPoint or the TabletProximity property is filled with an object.

Tablet functions may or may not work in Xojo's debug mode (some RB versions work and some not).

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.MouseWheelMoved(modifierKeys as Integer, axis as Integer, delta as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called whenever the mouse wheel is moved with the mouse cursor within your window.
Example:
function MouseWheelMoved(modifierKeys as Integer, axis as Integer, delta as Integer) as boolean
dim d as Integer

const cmdKey=256
const shiftKey=512
const alphaLock=1024
const optionKey=2048
const controlKey=4096
const rightShiftKey=8192
const rightOptionKey=16384
const rightControlKey=32768

const kEventMouseWheelAxisY=1
const kEventMouseWheelAxisX=0

if axis=kEventMouseWheelAxisY then
d=delta

if BitwiseAnd(modifierKeys,optionkey)<>0 then
d=d*4 // scroll faster with option
end if

List.ScrollPosition=List.ScrollPosition-d
end if

List.InsertRow 0,"MouseWheelMoved "+str(delta)
end function
Notes: Currently axis is only 0 or 1, but in future new input devices may have up to 32 axises.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowBoundsChanging(original as object, previous as object, current as object, flags as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called whenever the window changes its bounds.
Notes: You may need to cast the objects to IntegerRectMBS objects.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowClickCloseRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 11.0 Yes No No No No
Function: This event is called when the close button area of the window was clicked.
Notes:
ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowClickCollapseRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 11.0 Yes No No No No
Function: This event is called when the collapse button area of the window was clicked.
Notes:
ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowClickContentRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 11.0 Yes No No No No
Function: This event is called when the content area of the window was clicked.
Notes:
ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowClickDragRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 11.0 Yes No No No No
Function: This event is called when the drag area of the window was clicked.
Notes:
ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowClickProxyIconRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 11.0 Yes No No No No
Function: This event is called when the proxy icon area of the window was clicked.
Notes:
ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowClickResizeRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 11.0 Yes No No No No
Function: This event is called when the resize widget area of the window was clicked.
Notes:
ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowClickStructureRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 11.0 Yes No No No No
Function: This event is called when the window structure area of the window was clicked.
Notes:
ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowClickToolbarButtonRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 11.0 Yes No No No No
Function: This event is called when the toolbar button area of the window was clicked.
Notes:
ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowClickZoomRgn(ClickedWindowHandle as Integer, UnderMouseWindowHandle as Integer, globalX as single, globalY as single, x as single, y as single, modifierKeys as Integer, button as Integer, clickcount as Integer, MouseChord as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 11.0 Yes No No No No
Function: This event is called when the zoom button area of the window was clicked.
Notes:
ClickedWindowHandle: The handle of the window that was clicked. 0 if not available.
UnderMouseWindowHandle: The handle of the window under the mouse. 0 if not available.
globalX and globalY: global mouse coordinates.
X and Y: mouse coordinates relative to window.
modifierkeys: which keys are pressed. (see CarbonWindowsEventsMBS.MouseModifierKeys for details)
button: Which mouse button was pressed.
clickcount: Whether this is a single click, double click, etc.
MouseChord: Which other mouse buttons were pressed when the event was generated.

Return true if you handled the event and false if not.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowClose as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called whenever the window should close.
Notes:
Return false to run the default handler.
Return true to tell the system that you handled this event.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowCloseAll as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called whenever all windows should close.
Notes:
Return false to run the default handler.
Return true to tell the system that you handled this event.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowCollapse as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called when the window is going to collapse.
Notes:
Return false to run the default handler.
Return true to tell the system that you handled this event.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowCollapseAll as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called when all windows are going to collapse.
Notes:
Return false to run the default handler.
Return true to tell the system that you handled this event.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowCollapsed as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called whenever the window is collapsed.
Notes:
Return false to run the default handler.
Return true to tell the system that you handled this event.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowCollapsing as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called while the window is collapsing.
Notes:
Return false to run the default handler.
Return true to tell the system that you handled this event.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowExpand as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called whenever the window should expand.
Notes:
Return false to run the default handler.
Return true to tell the system that you handled this event.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowExpandAll as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called whenever all windows should expand.
Notes:
Return false to run the default handler.
Return true to tell the system that you handled this event.

Feedback, Comments & Corrections

CarbonWindowsEventsMBS.WindowExpanded as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Carbon Events MBS MacCF Plugin 2.8 Yes No No No No
Function: Called whenever the window is expanded.
Notes:
Return false to run the default handler.
Return true to tell the system that you handled this event.

Feedback, Comments & Corrections

Next items

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




Links
MBS FileMaker blog