Barra di caricamento

Ciao,
Essendo che nello Screen 1 ho messo la barra di caricamento, mi fa lo sfarfallio dello schermo.


Carico immagine del codice, potete aiutarmi?
Grazie

HI,
Since I put the loading bar in Screen 1, it makes my screen flicker.

I'm uploading an image of the code, can you help me?
Thank you

  1. What is your clock timer interval ?
  2. You do not stop the clock when the count is finished ?

clock interval is 100
I have now turned off the always on timer


All the errors that play console reports to me

I do not see any flickering....

Do you have anything else happening in Screen Initialise ?

Okay by changing code like yours the screen no longer flickers.
A thousand thanks!

Ciao , come ha fatto vedere Tim le due strade sono differenti, quindi o procedi con l'animazione o fermo tutto e vai avanti, nel tuo caso invece ogni 100 ms provava ad aprire un altro screen .
Se posso darti un consiglio nomina i vari componenti aggiungendo un'informazione su cosa è così da aiutare la lettura alle altre persone e anche per agevolare te durante la scrittura del codice. Per esempio se è una label puoi mettere lb_numero_di_caricamento così ad occhio puoi distinguerlo da un pulsante per esempio , quindi un button bn_idrante . Ti assicuro che all'aumentare del tuo codice sarà fondamentale :+1:t2: buon lavoro

Hi, as Tim showed you have to set an if then else control because you have 2 different ways , if your animation is running or is finished.
Anyway is a good practice to name the component with their type too. for a button you can use bn_Name or for a label lb_Name so people (or you while coding ) immediately know what kind of component you are setting

Have a nice day

okay grazie mille!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.