FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
static control not updating in real time
static control not updating in real time
Débuté par Mark Gibbs, 11 aoû. 2020 14:01 - 2 réponses
Connectez-vous…
Mark Gibbs
#1
Posté le 11 août 2020 - 14:01
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
Signaler
0
0
Argus
#2
Posté le 11 août 2020 - 16:18
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
Signaler
0
0
Mark Gibbs
#3
Posté le 11 août 2020 - 16:46
To borrow a quote:
"You sir are a steely eyed missileman"
Thanks
All working.
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte