PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
static control not updating in real time
static control not updating in real time
Started by Mark Gibbs, Aug., 11 2020 2:01 PM - 2 replies
Connect yourself…
Mark Gibbs
#1
Posted on August, 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
Report
0
0
Argus
#2
Posted on August, 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
Report
0
0
Mark Gibbs
#3
Posted on August, 11 2020 - 4:46 PM
To borrow a quote:
"You sir are a steely eyed missileman"
Thanks
All working.
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text