Jump to content
Sign in to follow this  

progressbar with images

Recommended Posts


Hi All,

Im wanting to create a scoreboard which has 5 progress bar's with a different image for each progress bar that moves along with the figures simply attached to a workbook or even a txt or ini file is fine..

Basically each person will have there own image (face or funny image or whatever) that is small that moves along the progress bar as it is updated day to day / week on week.

how can i accomplish this? - more importantly.. where should i look to find information that will help me to accomplish this..

Edited by 13lack13lade

Share this post

Link to post
Share on other sites

If I'm understanding your post correctly, this one from MrCreatoR may help.

#include <GUIConstants.au3>

$Gradient_Progress_Bar_Img = @ScriptDir & "\Gradient_Progress_Bar.bmp"

If Not FileExists($Gradient_Progress_Bar_Img) Then _
    InetGet("http://creator-lab.ucoz.ru/Images/Gradient_Progress_Bar.bmp", $Gradient_Progress_Bar_Img)

$Gui = GUICreate("Gradient Progress Bar", 340, 100)

GUICtrlCreateLabel("Progress Bar", 20, 15, 300, 15)
GUICtrlCreatePic($Gradient_Progress_Bar_Img, 20, 30, 300, 15)
$Cover_Label = GUICtrlCreateLabel("", 20, 30, 300, 15)
$Go_Button = GUICtrlCreateButton("GO!", 20, 70, 40, 20)

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
        Case $Go_Button
            GUICtrlSetData($Go_Button, "Abort!")

            For $i = 15 To 315
                ControlMove($Gui, "", $Cover_Label, $i + 5, 30, 315 - $i, 15)

                $nMsg = GUIGetMsg()

                If $nMsg = $Go_Button Then
                    ControlMove($Gui, "", $Cover_Label, 20, 30, 300, 15)

                If $nMsg = $GUI_EVENT_CLOSE Then ExitLoop 2


            GUICtrlSetData($Go_Button, "GO!")

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.