Jump to content
Sign in to follow this  

Progress Bar Help

Recommended Posts

Hey guys, i was wonderinf if anyone had a code sample of a progress bar(GUI), I can get it to work, but i want it to move the more i download, or for instance my IP program.

When i press the Renew button on the gui, as u might have guessed, it renews the IP address, i also have a progress bar, i want it to move with each step the renew process goes.

Kinda hard to explain, lol hopefuolly someone gets this...



Share this post

Link to post
Share on other sites

Here is some help with the progress bar example:

#Include <GUIConstants.au3>
GUICreate('Hello', 500, 500)
$Progress = GUICtrlCreateProgress(0, 0, 490, 50)
For $Count = 1 To 10000
    GUICtrlSetData($Progress, ($Count / 10000) * 100);Status / Max Status * 100(%)
    If GUIGetMsg() = $GUI_EVENT_CLOSE Then _Exit()

Func _Exit()

Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

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...