Hello About RunProgress...

03/30/2013 13:32 Primmo#1
Heya :P,Like u see i have some questions about RunProgress , How that progressbar actually run's i mean like you know the bar but how is the bar gettin g full?


Here's a screen:


[Only registered and activated users can see links. Click Here To Register...]
03/30/2013 14:03 omer36#2
for what u need this bar? sensless..


PHP Code:
        Case $Button1
            
For $i=0 To 100
                GUICtrlSetData
($Progress1, $i)
                
Sleep(50)
            
Next 
03/30/2013 14:04 xcyancali#3
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1_1 = GUICreate("Progressbar", 510, 29, 258, 191)
$Progress1 = GUICtrlCreateProgress(0, 8, 414, 17)
$Button1 = GUICtrlCreateButton("Start", 432, 0, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
    $nMsg 
= GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        case 
$Button1
            _start
()

    EndSwitch
WEnd

func _start
()
    for 
$i = 0 to 100 step +1 ; while to step 100

        GUICtrlSetData
($Progress1,$i) ;edit the progressbar
        Sleep
(10)

        
Next
EndFunc 
03/30/2013 14:15 Primmo#4
Thanks all <3.

Its jus for sometnig but thanks very much :D.