Platforms to show: All Mac Windows Linux Cross-Platform
Back to IKScannerDeviceViewControlMBS control.
IKScannerDeviceViewControlMBS.BoundsChanged
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
IKScannerDeviceViewControlMBS.Close
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 14.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
The control is about to close.
In Xojo version 2021r3 and newer this event is named Closing.
IKScannerDeviceViewControlMBS.Closing
Type | Topic | Version |
event | Image Capture | 14.3 |
The control is about to close.
In older Xojo versions, this event is named Close.
IKScannerDeviceViewControlMBS.ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
IKScannerDeviceViewControlMBS.ContextualMenuAction(hitItem as MenuItem) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
This allows the control to react on its relevant menu items. Please return true if you handled it or false to give others a chance.
IKScannerDeviceViewControlMBS.didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 24.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Allows you to restart any animation you may have stopped in the willShowContextualMenu event.
IKScannerDeviceViewControlMBS.DidEncounterError(error as NSErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 14.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
IKScannerDeviceViewControlMBS.DidScanToBandData(data as ICScannerBandDataMBS, scanInfo as Dictionary, error as NSErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 14.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
The 'data' parameter describes the scanned image data. Note that rotation/cropping/image adjustments are not applied yet. The 'scanInfo' parameter contains additional information (rotation angle, ...) that should be applied once the scan is completed.
IKScannerDeviceViewControlMBS.DidScanToURL(url as String, file as FolderItem, fileData as MemoryBlock, error as NSErrorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 14.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Based on the IKScannerDeviceViewTransferMode the downloaded file will be saved on disk using the 'url', or returned in memory as Memoryblock.
IKScannerDeviceViewControlMBS.EnableMenuItems
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
The event where you can enable menu items.
In Xojo version 2021r3 and newer this event is named MenuBarSelected.
IKScannerDeviceViewControlMBS.FocusLost
Type | Topic | Version |
event | Image Capture | 16.5 |
The control lost focus.
In older Xojo versions, this event is named LostFocus.
This only fires if the control itself lost focus and not a sub control.
IKScannerDeviceViewControlMBS.FocusReceived
Type | Topic | Version |
event | Image Capture | 16.5 |
The control itself got focus.
In older Xojo versions, this event is named GotFocus.
This only fires if the control itself got focus and not a sub control.
IKScannerDeviceViewControlMBS.FrameChanged
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
This event notifies you, that the control changed it's bounding frame, which is position and/or size.
IKScannerDeviceViewControlMBS.GotFocus
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ❌ No |
The control itself got focus.
In Xojo version 2021r3 and newer this event is named FocusReceived.
This only fires if the control itself got focus and not a sub control.
IKScannerDeviceViewControlMBS.LostFocus
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ❌ No |
The control lost focus.
In Xojo version 2021r3 and newer this event is named FocusLost.
This only fires if the control itself lost focus and not a sub control.
IKScannerDeviceViewControlMBS.MenuBarSelected
Type | Topic | Version |
event | Image Capture | 17.1 |
The event where you can enable menu items.
In older Xojo versions, this event is named EnableMenuItems.
IKScannerDeviceViewControlMBS.MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
The coordinates x and y are local to the control, i.e. they represent the position of the mouse click relative to the upper-left corner or the Control.
Return True if you are going to handle the MouseDown. In such a case:
- The Action event, if any, will not execute and the state of the object will not change.
- You will receive the MouseDrag and MouseUp events.
IKScannerDeviceViewControlMBS.MouseDrag(x as Integer, y as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Mouse location is local to the control passed in to x, y.
As this event is fired continuously (hundreds of time per second), it is your responsibility to determine if the mouse has really moved.
IKScannerDeviceViewControlMBS.MouseUp(x as Integer, y as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Use the x and y parameters to determine if the mouse button was released within the control's boundaries.
IKScannerDeviceViewControlMBS.Open
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 14.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
The control is about to was created and you can initialize it.
In Xojo version 2021r3 and newer this event is named Opening.
IKScannerDeviceViewControlMBS.Opening
Type | Topic | Version |
event | Image Capture | 14.3 |
The control is about to was created and you can initialize it.
In older Xojo versions, this event is named Open.
IKScannerDeviceViewControlMBS.ScaleFactorChanged(NewFactor as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Please invalidate any cached bitmaps or other relevant state.
IKScannerDeviceViewControlMBS.willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS AVFoundation Plugin | 24.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Your chance to modify the menu before it is shown, e.g. to add menu entries.
The items on this page are in the following plugins: MBS AVFoundation Plugin.