|
| force progress bars to reset |
| Iniciado por guest, 17,may. 2017 16:53 - 4 respuestas |
| |
| | | |
|
| |
| Publicado el 17,mayo 2017 - 16:53 |
Hi All, I have some progress bars that I want to reset to 0, using the code 'PROGBAR=0'.
The reset is done before changing planes, but the bars aren't resetting without an edit field being selected first; once the keyboard has been used the bars reset, otherwise they don't (they are on a different place).
How can I force the progress bars to reset to 0 please? Thanks Pete |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,mayo 2017 - 17:34 |
Do a MultiTaskRedraw() after resetting them first?
Cheers,
Peter Holemans |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,mayo 2017 - 17:38 |
Thanks Peter,
Unfortunately MultitaskRedraw() isn't available in WM20
Cheers
Pete |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,mayo 2017 - 20:21 |
Peter,
try MultiTask(-1). Should do the trick.
You can also try to put the code in a procedure. Afaik Android (or WM?) does not refresh the screen as long as it is running in the same procedure. Not sure though... |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,mayo 2017 - 20:58 |
Thanks Arie, I'll try that.
I think the plane change has something to do with it, so I just made a new window and opened the original from there, which clears the controls.
Thanks again
Pete |
| |
| |
| | | |
|
| | | | |
| | |
|