>
>>Not quite. READ EVENTS is not associated with any form in particular. If you started a menu that you then could start up many different forms, none of these forms are "associated" with the READ EVENTS. You would then have a menu option that did a CLEAR EVENTS to get out of the internal loop.
>>
>>It's only because you have a single form, with no menu, that you need the CLEAR EVENTS in the form.
>>
>>In fact, you don't even need a READ EVENTS if your form was Modal, therefore you wouldn't need a CLEAR EVENTS, either.
>>
>>HTH.
>
>Sorry, that's what I ment. I didn't mean to say that the main form was the only attacment but as it is the one issuing the exit ....
>Also, my form is marked modal but when I compiled it and put it on a Win95 machine it wouldn't stay put until I added the READ EVENTS statement to the prg file. I agree with you that the Modal should have taken care of it but it didn't seem to this time.
>Terry
Is this a top-level form? (running outside the VFP window) I don't think those can be modal. I don't run my forms outside of VFP, so I'm not sure.