>>
>>I definitely wouldn't put READ EVENTS in Activate. In fact, you don't need READ EVENTS for a modal form, so just remove those.
>>
>>Tamar
>
>But Yikes, as I thought. When no READ EVENTS is present the code blows right through the FORM and returns to the calling .PRG, Tried both MODAL and NON-MODAL.
>
>This is an old-school PRG application and I simply want it to call a form. So I have the calling .PRG doing this:
>
> DO FORM Programs\CourtSt NAME frmCourtSt LINKED
> RELEASE frmCourtSt
>
>The form has
>.Activate - READ EVENTS (which indeed does 'activate' it nicely.)
>.Unload - CLEAR EVENTS
>
>But then it won't go away when I "X" it. It appears to remain active and will still do stuff. If I click outside the form's area, it will then disappear but maybe it's not gone because the calling .PRG doesn't resume. Session is whacked.
>I know I'd done something similar about a decade ago once I'd figured every little snitty item. lol Drag.
This sounds like a case where you have created some reference to the form in your program. That is you might have created a var such as oForm = Thisform and oForm still exists in your prg. You must release it before the form will go away.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn