Crome_BAD 0 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 Share this post Link to post Share on other sites
Wolvereness 0 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] Share this post Link to post Share on other sites