SQL Object
 
Syntax
 
SQL.DisplayPercentage Value[, Caption]
 
Description
Displays a percentage bar at the bottom of the status line of the main Tradium screen, with optional text attached.
 
Parameter
Description
Value
Numeric, percentage range from 0 to 100. Whole numbers only.
To make the bar disappear, use -1 as the value.
Caption
Optional parameter for displaying
text, to the left of the percentage bar. If not specified, the text "Processing" appears.
 
See Also
Example
Sub Main()
 
    Dim X As Long
 
    For X = 0 To 100
        SQL.DisplayPercentage X, "Test"
        Wait 3  ' sekonden
    Next X
 
    SQL.DisplayPercentage -1    ' Clear percentage bar
 
End Sub