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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Window.SetProgress
Sets task bar progress.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Window | 7.3 | No | Yes | No | No | No |
MBS( "Window.SetProgress"; WindowRef; State { ; Value; Maximum } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 | |
| State | The state to set. Can be NoProgress, Indeterminate, normal, error or paused. |
"Normal" | |
| Value | Current progress value. | 50 | Optional |
| Maximum | The maximum value for progress. | 100 | Optional |
Result
Returns OK or error.
Description
Sets task bar progress.You can show progress on the task bar icon of your window.
Usually start with setting to indeterminate, than could up in a script with normal state and finally disable progress indication with setting no progress.
Requires Windows 7.
Examples
Sets progress to 50%:
MBS( "Window.SetProgress"; Get(FensterName); "normal"; 50; 100)
Set progress to indeterminate:
MBS( "Window.SetProgress"; Get(FensterName); "indeterminate"
See also
Example Databases
Blog Entries
Created 29th May 2017, last changed 29th May 2017
Window.SetModified - Window.SetResizable
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins