|
static control not updating in real time |
Iniciado por mark.gibbs, ago., 11 2020 2:01 PM - 2 respostas |
| |
| | | |
|
| |
Publicado em agosto, 11 2020 - 2:01 PM |
Hi I've just installed Windev Mobile 25 in order to migrate one of our WebDev applications.
I've immediately hit a snag.
As a test I have a single window - WIN_Main In that window are two controls - a button BTN_NoName1 and a static STC_NoName1
The button just has 4 lines of code: x is int FOR x = 1 TO 100000 STC_NoName1 = x END
If I test this in the simulator (Galaxy Tab A 10.") it works fine. If I test it on the device then when I tab the button nothing happens until x reaches 100000 then the static is updated.
It also works normally in Windev 25. Could someone tell me what I'm doing wrong?
Thanks Mark |
| |
| |
| | | |
|
| | |
| |
Publicado em agosto, 11 2020 - 4:18 PM |
actually, your code works perfectly, as coded...
If you want a refresh during your loop, you need to add a multitaskredraw instruction in the loop |
| |
| |
| | | |
|
| | |
| |
Publicado em agosto, 11 2020 - 4:46 PM |
To borrow a quote:
"You sir are a steely eyed missileman"
Thanks All working. |
| |
| |
| | | |
|
| | | | |
| | |
|