Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Progressdialog.SetScript
Sets the script to run when button is clicked.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Progressdialog | 7.1 | Yes | Yes | No | No | No |
MBS( "Progressdialog.SetScript"; FileName; ScriptName { ; Parameter } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| FileName | The file name for the script. | Get(FileName) | |
| ScriptName | The script name to run. An empty name will disable the script calling. |
"CancelScript" | |
| Parameter | The script parameter to pass. | Optional |
Result
Returns OK or error.
Description
Sets the script to run when button is clicked.Examples
Set script to run
MBS("Progressdialog.SetScript"; Get(FileName); "CancelScript"; "optional parameter")
See also
- Progressdialog.GetScriptName
- ProgressDialog.SetCancel
- Progressdialog.SetEvaluate
- ProgressDialog.SetFont
- ProgressDialog.SetTopMost
- ProgressDialog.SetTopText
Blog Entries
Release notes
- Version 7.1
- Added Progressdialog.GetEvaluate, Progressdialog.GetFileName, Progressdialog.GetScriptName, Progressdialog.SetEvaluate, Progressdialog.SetScript to trigger script/evaluation when clicking cancel button.
Created 14th February 2017, last changed 14th February 2017
Progressdialog.SetEvaluate - Proj.BatchTransform
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins