Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets task bar progress.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Window 7.3 No Yes No No No

MBS( "Window.SetProgress"; WindowRef; State { ; Value; Maximum } )


Parameter Description Example value
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.
Value Optional
Current progress value.
Maximum Optional
The maximum value for progress.


Returns OK or error.


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.


Sets progress to 50%:

MBS( "Window.SetProgress"; Get(FensterName); "normal"; 50; 100)

Set progress to indeterminate:

MBS( "Window.SetProgress"; Get(FensterName); "indeterminate"

See also

Window.SetModified   -   Window.SetResizable

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins