Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
IKScannerDevicePanel.SetCloseTrigger
Sets a close trigger.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ImageCapture | 8.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "IKScannerDevicePanel.SetCloseTrigger"; FileName; ScriptName { ; Parameter } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
FileName | The name of the FileMaker File that contains the script. | "test.fmp12" | |
ScriptName | The name of the script to run. | "MyScript" | |
Parameter | The optional script parameter. | Optional |
Result
Returns OK or error.
Description
Sets a close trigger.This script will be called whenever the panel closes.
Either by code or by user clicking close button.
If the normal trigger run and you delayed work on the files, you can process them now.
Examples
Set close trigger script:
Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetCloseTrigger"; Get(FileName); "Scanner Dialog Close Trigger" )]
Clear close trigger script:
Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetCloseTrigger"; ""; "" )]
See also
- IKScannerDevicePanel.GetCombine
- IKScannerDevicePanel.SetCombine
- IKScannerDevicePanel.SetTrigger
- IKScannerDevicePanel.SetWindowTitle
Release notes
- Version 8.1
- Added IKScannerDevicePanel.SetCloseTrigger function.
Blog Entries
This function is free to use.
Created 24th February 2018, last changed 26th February 2018
IKScannerDevicePanel.Reset - IKScannerDevicePanel.SetCombine