B4A Tutorial DoEvents deprecated and async dialogs (msgbox) - Erel    May 28, 2017   (26 reactions)   tags: wait, UI Starting from B4A v7.0 the following warning will appear for DoEvents calls: DoEvents is deprecated. It can lead to stability issues. Use Sleep(0) instead (if really needed). The purpose of DoEvents was to allow the UI to be updated while the main thread is busy. DoEvents which shares the same... of the message queue became more sophisticated and fragile. The reasons for deprecating DoEvents are: 1.... As it only handles UI related messages, most events could not be raised from a DoEvents call. 4... B4A Question Sleep(0) as alternative to DoEvents - LucaMs    May 30, 2017 I have read this statement: You can call Sleep(0) for the shortest pause. This can be used to allow the UI to be refreshed. It is a good alternative to DoEvents (which doesn't exist in B4J and B4i and should be avoided in B4A). I think that you cannot use Sleep(0) as an alternative to DoEvents, because anyway, even setting to 0 the duration of the sleep, control wil be returned (for micro... DoEvents (I tried also using VB.NET) you get the "right" behavior.... B4A Question how to avoid using the doevents - LordZenzo    Aug 29, 2018 if I have to use more commands like that
mMano.SetLayoutAnimated (MDURATION, x, y, mMano.Width, mMan... B4A Question ClsExplorer without DoEvents - Robert Valentino    Jan 27, 2018 Is there a ClsExplorer that does not use DoEvents?
Before I start modifying the code just wanted to know... Spanish [INFORMACIÓN] Sobre Doevents y Android 6 - bgsoft    Apr 18, 2016   (6 reactions) Hola a todos: Esto no es una pregunta, es algo que queria compartir con todos, posiblemente algunos ya lo sabeis, pero para el que no lo sepa le vendrá bien. Habitualmente ponia Doevents cuando creaba un bucle, tanto en Do Loop, For Next, etc . Lo hacia para asi liberar por un momento la CPU y... probando en un dispositivo con Android 6, un bucle tardaba en hacerlo 12 segundos, al quitarle el Doevents... los Doevents, de todos modos he empezado a quitar los Doevents de los bucles y va rapidisimo... B4A Question how to debug this? Sleep(0) vs DoEvents - peacemaker    Jun 19, 2022 timers subs.
App is old, and i found that DOEVENTS is still used, but not all places, some are already with Sleep(0) instead.
And when i placed DOEVENTS everywere instead of Sleep(0) .... hanging... B4A Question StateManager Class - DoEvents - LucaMs    Jul 28, 2017 Is there a way to remove DoEvents from StateManager Class?... B4A Question How to avoid DoEvents in this case? - LucaMs    Jul 19, 2017 shown. Writing a DoEvents before IMEKeyboard.ShowKeyboard(et), all work as expected. How to avoid DoEvents in this case?... Spanish Problemas en procedimiento de espera sin utilizar DoEvents - desof    Jun 25, 2018 .Now < ti
'DoEvents
Sleep (0)
Loop
Activity.Finish... funciona correctamente cn la linea comentada DoEvents pero no con Sleep() .
He leido que DoEvents no se... B4A Question Change DoEvents in ClsExplorer - asales    Mar 19, 2018 /threads/class-file-explorer-with-visualization.19003/
to use Sleep(0) instead the DoEvents.
I'm...
DoEvents
Loop
I think this will be useful to @Robert Valentino too, that posted this thread (if him... Page: 1   2   3   4   |