Modal won't work for a top-level form.
>You need a READ EVENTS/CLEAR EVENTS combo or make your form modal.
>
>HTH
>
>>I've created a single-form application that works perfectly in the development environment and as an .app, but when I set the form to desktop=.t. and the show property to 2(as top level form), and compile it as an exe, it closes right after it opens. Have I missed something here?