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: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  


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 } )


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


Returns OK or error.


Sets the script to run when button is clicked.


Set script to run

MBS("Progressdialog.SetScript"; Get(FileName); "CancelScript"; "optional parameter")

See also

Progressdialog.SetEvaluate   -   QLPreviewPanel.AddFile

Feedback: Report problem or ask question.

MBS REALbasic Plugins - Pfarrgemeinde Ministranten Nickenich