Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter SixteenApplication (continued)

StatusBarSetProgress Function

Overview

The StatusBarSetProgress function displays a progress bar in the right message area of the status bar.

Syntax/Parameters

Syntax

int = StatusBarSetProgress ( int percent, [dword color] );

Parameters

percent

An int specifying the position of the progress bar from 0 to 100. The progress can be cleared by setting the value to -1.

color

A 24-bit RGB color value in the form of a dword or int. If omitted, the color defaults to the theme color (normally black).

Return Value

An int containing a formatted error code. ERROR_NONE for no error or ERROR_FUNCTION_NOT_SUPPORTED if the frame is not displayed.

Remarks

The progress display occupies the same area as the right side status messages and therefor only one can be displayed at a time. If the progress is displayed, the right side message will be hidden.

Related Functions:

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE