Jump to content
Sign in to follow this  

adding progressbar

Recommended Posts

i want to make it where it reads the progress bar starts at 100 going down by 10 and it then adds a amount to it if a button is pressed this is a part of my script:

While 1
    $msg = GUIGetMsg()
        Case $msg = $happy_button
            $readhappy = GUICtrlRead($ProgressHappy)
            $prgresshappy_button = $readhappy+20
For $i = 100 To 0 Step -10
If GUICtrlRead($ProgressHappy) = 0 Then

Share this post

Link to post
Share on other sites

would i use GUICtrtSetData? because when i do that the progress bar window would be frozen at around 40% and when i press the button (the button is on a different window) ALL the progress bars will go to 100% and it doesnt do it again. And it does the same thing for the script above(its a part of a script it doesnt show the button window func). What i want is just to have it where i press 1 button (on different window) and 1 progress bar (out of about 4) will be read and it will +20 to w/e the % or where ever the progress bar is.

Edited by hellogoodbye

Share this post

Link to post
Share on other sites

wow i have almost exactly the same problem *Here*

---╔╦═╗╔╗'''╔╗╔═╦═╗╔╦═╗---╝╠═╣╝║'''║╝╝''''''╝╝║'''......''''''''''''''''''''''''''''''---╔╩═╩═╩═╩═══╩═╦═╩═╩══╦══════╗''''╔╩════════════╩══╗╔══╩══╗╔══╝ ''''''''''''''''''''''''''''''''''''''''''''''''''''║║'''''''''''''''║║ ''''''''''''''''''''''''''''''''''''''''''''''╔══╝╚══╗''''''║║''''''''''''''''''''''''''''''''''''''''''''''╚══════╝''''''╚╝

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...