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 | 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 Added in version 8.0. |
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
- FM.CompareTables
- FM.InsertSetUpdateProgressDialog
- FM.SetSQLBatchMode
- ImageCapture.RequestScan
- ImageCapture.SetParameter
- JSON.Import
- ProgressDialog.GetCancel
- ProgressDialog.SetCancel
- ProgressDialog.SetFont
- ProgressDialog.SetProgress
Release notes
- Version 8.0
- Added NoActivate parameter to ProgressDialog.Show function.
Example Databases
- CURL/Amazon S3/Amazon S3 Upload File
- CURL/CURL Download in Background
- CURL/CURL Download with Progress
- CURL/FTP/CURL FTP Upload from file with Progress
- DynaPDF/Print PDF
- Mac and iOS/Addressbook/Addressbook
- Mac and iOS/Contacts/Contacts to FileMaker
- WebViewer/WebViewer Download Delegate for Mac
- Window/Progress Dialog
- XML/XML Import
Blog Entries
- MBS Plugin Advent calendar: 14 - Progress Dialog
- PhotoPicker for iOS with FileMaker iOS SDK
- Introducing FM.CompareTables function
- MBS FileMaker Plugin, version 7.6pr1
- ImageCapture functions for Mac OS X
- MBS FileMaker Plugin, version 5.2pr4
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 29th November 2022
