Previous Topic: ProgressBar - Set the Progress BarNext Topic: Environment Functions


ProgressText - Copy a String to the Progress Text Field

Valid on Windows only

The ProgressText function copies the string to the progress text field in the Main window.

This display function has the format:

ProgressText(text as String) as Boolean
text

Defines text for the progress text field.

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

Example: ProgressText function

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