Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

Online
 Command
ProgressBar( [X][,Y][,W][,H][,Percent] )

 Parameters
X - Starting X location of the control
Y - Starting Y location of the control
W - Starting width of the control
H - Starting height of the control
Percent - Starting percentage value of the progressbar (0-100)

 Description
Progress Bars are extremely useful for showing loading times and displaying the progress of long tasks. Not only do they let you know what stage the loading is at, they also show that the program hasn't crashed while doing it's long task.

 Example
Graphics 640, 480, 16, 2
SetBuffer BackBuffer( )

Include "blitzui.bb"
Initialise( )

mywindow = Window( 20, 20, 200, 150, "My Window", 0, True )
myprogbar = ProgressBar( 5, 5, 150, 20, 0 )

Repeat
    UpdateGUI( )
    DrawMouse( )

    If A < 100
        A = A + 1
        SendMessage( myprogbar, "PM_SETVALUE", A )
    EndIf

    Flip
    Cls
Until KeyHit( 1 )
Destroy( )
End