Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

Progressdialog.SetScript

Sets the script to run when button is clicked.

Component: Progressdialog
Version: 7.1
Mac OS X: Yes
Windows: Yes
Server: No
FileMaker Cloud: 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 Realbasic Plugins - Pfarrgemeinde St. Arnulf Nickenich