Hi
How can i stop a progress Bar that is running into a cycle, by pressing on
it , or a Buttom in the "form".
It Seems the only way to evaluate the progress Bar is with "ON change",
The other events "Click " , DBL Click" doesn't work while the progress
don't End.
for nl:=1 to aData:reccount()
::oProgressBar1:nValue++ //need a way to stop this
Next
Regards
Pedro Faro
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Stopping a progress Bar
-
- Mensajes: 91
- Registrado: Mié May 30, 2007 5:25 pm
Stopping a progress Bar
Pedro,
> How can i stop a progress Bar that is running into a cycle, by pressing
> on it , or a Buttom in the "form".
>
> It Seems the only way to evaluate the progress Bar is with "ON change",
>
> The other events "Click " , DBL Click" doesn't work while the progress
> don't End.
>
>
> for nl:=1 to aData:reccount()
> ::oProgressBar1:nValue++ //need a way to stop this
> Next
You need to call ProcessMessages() inside the loop in order to allow
procesing any windows message, like a click on a button or any other user
action.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> How can i stop a progress Bar that is running into a cycle, by pressing
> on it , or a Buttom in the "form".
>
> It Seems the only way to evaluate the progress Bar is with "ON change",
>
> The other events "Click " , DBL Click" doesn't work while the progress
> don't End.
>
>
> for nl:=1 to aData:reccount()
> ::oProgressBar1:nValue++ //need a way to stop this
> Next
You need to call ProcessMessages() inside the loop in order to allow
procesing any windows message, like a click on a button or any other user
action.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 91
- Registrado: Mié May 30, 2007 5:25 pm
Stopping a progress Bar
Hi Jose,
Thank's . Works fine.
Regards
Pedro
"Jose F. Gimenez" <jfgimenez@wanadoo.es> escreveu na mensagem
news:[email=4c9e60a8@svctag-j7w3v3j....]4c9e60a8@svctag-j7w3v3j....[/email]
> Pedro,
>
>> How can i stop a progress Bar that is running into a cycle, by pressing
>> on it , or a Buttom in the "form".
>>
>> It Seems the only way to evaluate the progress Bar is with "ON change",
>>
>> The other events "Click " , DBL Click" doesn't work while the progress
>> don't End.
>>
>>
>> for nl:=1 to aData:reccount()
>> ::oProgressBar1:nValue++ //need a way to stop this
>> Next
>
> You need to call ProcessMessages() inside the loop in order to allow
> procesing any windows message, like a click on a button or any other user
> action.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
Thank's . Works fine.
Regards
Pedro
"Jose F. Gimenez" <jfgimenez@wanadoo.es> escreveu na mensagem
news:[email=4c9e60a8@svctag-j7w3v3j....]4c9e60a8@svctag-j7w3v3j....[/email]
> Pedro,
>
>> How can i stop a progress Bar that is running into a cycle, by pressing
>> on it , or a Buttom in the "form".
>>
>> It Seems the only way to evaluate the progress Bar is with "ON change",
>>
>> The other events "Click " , DBL Click" doesn't work while the progress
>> don't End.
>>
>>
>> for nl:=1 to aData:reccount()
>> ::oProgressBar1:nValue++ //need a way to stop this
>> Next
>
> You need to call ProcessMessages() inside the loop in order to allow
> procesing any windows message, like a click on a button or any other user
> action.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info