PVGadgets_ProgressBar (BarID,ImageId,x,y,w,h,Progress,Shadow,BColor,FColor1,FColor2 [,Flag])
|
Previous Top Next |
0 - 100 (representing %)
|
#NoShadow - no shadow on number
|
#Shadow - shadow on number
|
#NoNumber - no number
|
$0 - $FFFFFF (RGB values of background color)
|
#SystemColor - Use Background Color of Form
|
$0 - $FFFFFF (RGB values of foreground color)
|
$0 - $FFFFFF (RGB values of foreground color)
|
#NoBorder - no border
|
#FlatBorder - flat border
|
#SunkenBorder - sunken border
|
· | Once this Gadget has been created, you can set x,y,w,h to 0 as they are not needed.
|
· | Setting FColor1 different from FColor2 will cause the color of the bar to fade from one color to the next.
|
#Gadget=1
#Image=1 If OpenWindow(0,0,0,200,100,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"Demo")
|