Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

Progressdialog.SetScript

Sets the script to run when button is clicked.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Progressdialog 7.1 Yes Yes No No No

MBS( "Progressdialog.SetScript"; FileName; ScriptName { ; Parameter } )

Parameters

Parameter Description Example value
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 Optional
The script parameter to pass.

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

Created 14th February 2017, last changed 14th February 2017


Progressdialog.SetEvaluate   -   QLPreviewPanel.AddContainer

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos