A top level form cannot be modal (by design). Your main program looked correct. Like someone pointed out, something is issuing a clear events before it's time. Of course, make sure your form is set to top level and the formset if there is one (I would bet this already done)... I have CLEAR EVENTS in my forms Destroy method.
Steve.
>You are probablie right Jim.
>
>I will check. I was just creating a EXE with the code of George Sexton from the download. The Calendar class for Visual FoxPro.