Valid on Windows platforms.
The ProgressBar function sets the progress bar on the main window to the percentage indicated.
This display function has the format:
ProgressBar(percentage as Integer) as Boolean
Value of progress (percent).
On successful completion, the function returns TRUE; otherwise, it returns FALSE.
Example: ProgressBar 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
|
Copyright © 2013 CA.
All rights reserved.
|
|