Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ProgressDialog.Show

Shows the progress dialog.

Component Version macOS Windows Linux Server iOS SDK
ProgressDialog 2.4 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "ProgressDialog.Show" { ; NoActivate } )   More

Parameters

Parameter Description Example Flags
NoActivate Available in MBS FileMaker Plugin 8.0 or newer.
Whether to activate the window (0) or not to activate (1).
By default we move window to front to show user.
But if you prefer being in background, you can simply show without activation.
0 Optional

Result

Returns "OK" on success.

Description

Shows the progress dialog.
This may run asynchronously, so you may do a script pause after it, so we have time to draw the dialog.

Examples

Show the progress dialog:

MBS( "ProgressDialog.Show" )

Hide the progress dialog:

MBS( "ProgressDialog.Hide" )

Setup a progress window before an upload:

Set Variable [ $result; Value:MBS("ProgressDialog.Reset") ]
Set Variable [ $result; Value:MBS("ProgressDialog.SetCancel"; 0) ]
Set Variable [ $result; Value:MBS("ProgressDialog.SetProgress"; 0) ]
Set Variable [ $result; Value:MBS("ProgressDialog.SetTopText"; "Uploading text...") ]
Set Variable [ $result; Value:MBS("ProgressDialog.SetShowButton"; 0) ]
Set Variable [ $result; Value:MBS("ProgressDialog.Show") ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 29th November 2022


ProgressDialog.SetTopText - ProgressDialog.Update