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

sql server - MSSQL Text and Varchar(MAX) fields shown (MEMO) in DBGrid -

php - Changing the visibility scope of parent methods in child classes -

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