-
forms and refresh
I have noticed that my forms (windows applications) doesn't refresh properly even if the command Refresh() is placed within a while end construction or something like that.
The form refreshes at first but after a while the form just "hangs" until the processing is ended.
Does anyone know how to solve this, if possible, please?
/Anders
-
you might want to place a
System.Windows.Forms.Application.DoEvents()
in your loop
i use this when I want to display a counter counting through the rows of a data set etc.
tal mcmahon