>>You're doing indefinite loop, why you're surprised?
>
>a). When the form has the focus, no looping....
>
>b) When the form does not have the focus, looping occurs, but I can get focus back.
>
>c) When the form is minimized to the taskbar, looping still occurs, but I cannot Maximize the form or gain control anymore.
>
>
>That is the surprise.......
>
>I didn't write it.... I am trying to stop the loss of control when minimized (and I am trying to fix this by using READ EVENTS in Mainpops along with a CLEAR EVENTS on the way out.... but that causes problems with the code that is being called.
I'm not sure what to suggest. You may have to struggle for a while to have all code fixed to remove loop and switch to read events.
If it's not broken, fix it until it is.
My Blog