Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

ProgressDialog.SetCancel

Component: ProgressDialog
Version: 2.4
Mac OS X: Works
Windows: Works

MBS( "ProgressDialog.SetCancel"; Flag )

Parameters

Parameter Description Example value
Flag the new cancel state. 1

Result

Returns "OK" on success.

Description

Sets the cancel state.
You can query in your loop whether user clicked cancel so you can exit your loop.

Examples

Set cancel state

MBS( "ProgressDialog.SetCancel"; 1 )

Reset Cancel state:

MBS( "ProgressDialog.SetCancel"; 0 )

Feedback: Report problem or ask question.




Links
MBS REAL studio tutorial videos - Pfarrgemeinde St. Arnulf Nickenich