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.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Sets the cancel state.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ProgressDialog 2.4 Yes Yes No No No
MBS( "ProgressDialog.SetCancel"; Flag )   More


Parameter Description Example value
Flag the new cancel state. 1


Returns "OK" on success.


Sets the cancel state.
You can query in your loop whether user clicked cancel so you can exit your loop.
If your script does not make a pause or a long running plugin functions runs, there may be no reaction on the cancel button.


Set cancel state

MBS( "ProgressDialog.SetCancel"; 1 )

Reset Cancel state:

MBS( "ProgressDialog.SetCancel"; 0 )

See also

Example Databases

Created 18th August 2014, last changed 3th April 2016

ProgressDialog.SetButtonCaption   -   ProgressDialog.SetFont

Feedback: Report problem or ask question.

MBS Xojo Plugins