loops - Visual basic textbox not refreshing -


i'm writing code in visual basic compute primes. program runs in loop, , i'm adding new primes textbox, remains blank until loop finishes. how can add text textbox while in loop?

you caclulating primes on ui thread, freezing ui while loop runs. bad user experience: textbox not updating 1 symptom.

split off worker thread caculation , invoke ui thread ui updates.


Comments

Popular posts from this blog

java - How to print docx and pdf? -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

java - IntelliJ to move a class along with conflicted classes to a new package? -