Previous Topic: MessageBox or MsgBox - Display a Message Box WindowNext Topic: ProgressText - Copy a String to the Progress Text Field


ProgressBar - Set the Progress Bar

Valid on Windows platforms

The ProgressBar function sets the progress bar on the main window to the percentage indicated.

Display function format:

ProgressBar(percentage as Integer) as Boolean
percentage

Value of progress (percent).

On successful completion, the function returns TRUE; otherwise, it returns FALSE.

Example:

This example shows the ProgressBar and ProgressText functions.

Dim counter as Integer
For counter = 1 TO 10
 ProgressBar(counter * 10)
 ProgressText("Now processing : " + Str(counter) )
 Sleep(500)	'Wait half second
Next