Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Enable updating progress bar.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FM FMSQL | 6.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
Update | Pass 1 to update Progress Dialog. Pass 0 to disable feature. |
1 | |
Base | The progress base in percent. Default is 0. |
25 | Optional |
Factor | The factor to apply for progress update. Default is 1. |
0.5 | Optional |
Returns OK or error.
Import tab return text data as records with progress dialog:
Set Variable [$r; Value:MBS( "ProgressDialog.SetTitle"; "Please wait." )]
Set Variable [$r; Value:MBS( "ProgressDialog.SetShowButton"; 0 )]
Set Variable [$r; Value:MBS( "ProgressDialog.SetTopText"; "Importing text file..." )]
Set Variable [$r; Value:MBS( "ProgressDialog.Show" )]
Set Variable [$r; Value:MBS( "FM.InsertSetUpdateProgressDialog"; 1)]
Set Variable [$r; Value:MBS( "FM.InsertRecordTSV"; ""; "TSV Import"; "First¶Last¶Street¶City¶State¶Zip¶Country"; TSV Import::Text to Import )]
Set Variable [$r; Value:MBS( "ProgressDialog.Hide" )]
This function is free to use.
Created 3th April 2016, last changed 18th September 2016