Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    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


Progressdialog.SetEvaluate   -   QLPreviewPanel.AddFile

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins