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
Post a Comment