>Hello Mark!
>
>Form is Modal. Exit button on form with click event does Thisform.Release
>Have tried placing 'Clear Events' in thisform.cmdExit.click, unload event,
>destroy event, deactivate event and even tried in the 'AfterCloseTables' event in the dataenvironment.
>
>I feel that the problem is not so much as the clear event since I have also done an unload with a public variable which causes the whole system to 'Quit' after I click cmdExit.
>
>The problem I have is that the form is not shown on the screen and when I run the EXE, I have to press Alt+Ctrl+Del to 'End Task' which means the EXE is actually waiting for a response. It works fine under development environment.
>
>Even tried using _screen.windowstate = 2 and _Screen.windowtype = 1 in the main program but doesn't seem to work either.
>
>Any more suggestions?
So your form is just not showing ...
Try to put somewhere a THISFORM.Show().
Or maybe "some" container is disabled ?