Thanks, Nancy. I tried to put set step on just before release oProgBar and I experiement with thisform.lockscreen. I found, that grid.MyForeColor fires lots of times, then release of progress bar was executing properly, however, this ghost was still there. So, I was keep trying, until the last piece of code, which seemed to solve this annoying problem.
>>I tried different variations, but it's still here like a ghost...
>
>Did you try, however, stepping through your code to see what was happening with the code you thought should be releasing the form? Or did you just keep writing code?
>
>If the LockScreen is the problem, you'd have found it right away.
>
>FWIW, if you're debugging code, it's always a good idea to keep lockscreen .f. until you know the code is working correctly.
If it's not broken, fix it until it is.
My Blog