Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Progressdialog.SetEvaluate
Sets the expression to evaluate on button click.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Progressdialog | 7.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "Progressdialog.SetEvaluate"; Expression ) More
Parameters
Parameter | Description | Example |
---|---|---|
Expression | The expression to run. Can be in local language of FileMaker Pro or english. For Server must always be in english. |
"$$cancel = 1" |
Result
Returns OK or error.
Description
Sets the expression to evaluate on button click.You can set global variable to stop something or call MBS functions here.
Examples
Sets expression to hide dialog:
MBS("ProgressDialog.SetEvaluate"; "MBS(\"ProgressDialog.Hide\")")
See also
Release notes
- Version 7.1
- Added Progressdialog.GetEvaluate, Progressdialog.GetFileName, Progressdialog.GetScriptName, Progressdialog.SetEvaluate, Progressdialog.SetScript to trigger script/evaluation when clicking cancel button.
Blog Entries
This function is free to use.
Created 14th February 2017, last changed 15th October 2022