Crome_BAD Posted January 20, 2005 Share Posted January 20, 2005 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... Peace, Crome_BAD Link to comment Share on other sites More sharing options...
Wolvereness Posted January 20, 2005 Share Posted January 20, 2005 Here is some help with the progress bar example:#Include <GUIConstants.au3> GUICreate('Hello', 500, 500) $Progress = GUICtrlCreateProgress(0, 0, 490, 50) GUISetState() For $Count = 1 To 10000 GUICtrlSetData($Progress, ($Count / 10000) * 100);Status / Max Status * 100(%) Sleep(1) If GUIGetMsg() = $GUI_EVENT_CLOSE Then _Exit() Next _Exit() Func _Exit() GUIDelete() Exit EndFunc 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] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now