Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets task bar progress.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 7.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
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 |
Returns OK or error.
Sets progress to 50%:
MBS( "Window.SetProgress"; Get(WindowName); "normal"; 50; 100)
Set progress to indeterminate:
MBS( "Window.SetProgress"; Get(WindowName); "indeterminate"
This function checks for a license.
Created 29th May 2017, last changed 11st April 2022