Jump to content

Recommended Posts

Posted

Thanks for your answer :)

But i dont understand.. i want to get $i more to 100 but with the progress bar..

i Put

GUICtrlSetLimit ( $progressbar_traitement, 999, 100)

And its doesnt work..

Thanks for your help

Posted

Im try with

GUICtrlSetLimit ( $progressbar_traitement, 10,10 )

GUICtrlSetLimit ( $progressbar_traitement, 100,100 )

GUICtrlSetLimit ( $progressbar_traitement, 100,999 )

And is no effect on my Progress bar..

Thanks for your help :)

Posted

Hi all! :) i have a problem with my Progress bar..

This is my code (just a small part)

$nbfois = GUICtrlCreateInput("Nombre de fois", 24, 144, 153, 21)
$progressbar_traitement = GUICtrlCreateProgress(48, 400, 121, 33)

For $i = 1 To $s Step 1
GUICtrlSetData($progressbar_traitement, $i)


Next

The problem is if $1 = More to 100 the progress bar not work corectly..

What can i do?

Thanks

Instead of
GUICtrlSetData($progressbar_traitement, $i)

Try

GUICtrlSetData($progressbar_traitement, $i * 100 / $s)

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
×
×
  • Create New...