
text box as counter window not updating until end of load
think about what your prog does....
if it's in action it finishes it and then windows got time to REFRESH your
textbox (first the form, then the active control, then others...- this takes
time). if you want to give windows some more time to finish his work with it's
GUI, then put a DOVENTS into your code (which doesn't make it faster) OR you
just say the textbox to refresh:
text1.text = str$(cnt)
text1.refresh
if that doesn't work use me.refresh, it does it with da complete form.
yours,
mot
Quote:
> I am loading a delimited text ascii file into a msflexgrid line by line,
> updating a counter (integer : cnt=cnt+1) and displaying it in a text box. I
> expected the textbox to count up but instead it gets updated when the load
> is finished with the final total. The "text1.text = str$(cnt)" is definitely
> in the "do while not eof(1) " loop.
> Is there a "if you get time could you possibly update this textbox" flag
> that i dont know about ???