>Hi everybody,
>
>I'm debugging weird issue in my project. I had perfectly working form and the application. Then for a moment I switched to a different task, another developer took control and now the form that worked perfectly is broken.
>
>This is VPM based application. Debugging it is absolutely no fan, because there is tremendous amount of code called from each method.
>
>Anyway, right now it seems to be down to calling Refresh from the Activate (the problem somehow lies in the Refresh method of this form).
>
>However, my question is - why do we need to call Refresh of the form from the Activate of the form at all? Do you see any hidden sense in it?
>
>And if there is no sense, is there a way to prevent Refresh if it was called the first time from the first Activate?
>
>Thanks in advance.
>
>Turned out I made such a mistake - it's even embarrassing to tell. Instead of the click event of the new button I added recently I put code into the Refresh method. Took me very long time to find it.
"Debugging it is absolutely no fan" - Ssssh, when I said it years ago they got me on their blacklist.
Cetin