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