Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>I have a form in a timekeeping app which shows the time.
>
>In it, I have a timer with an interval of 1000 (1 second), which gets the current time using TIME(), then shows the corresponding image file (PNG) that represents each digit.
>
>Everything is fine though except for the "flickering" of the screen each time the timer fires.
To stop the flickering you must preload the additional images in the init of the overall control. Add additional image controls to the container (set to visible) and then set the picture property to each image to be used. Now you can assign the images to the visible image at run-time from the non-visible images. This solution was provided to me from Bernard Bout.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement