Do FORM YourMainForm READ EVENTSIn config.fpw
SCREEN = OFFProperties for YourMainForm
.WINDOWTYPE = 0 && MODELESS .SHOWWINDOW = 2 && AS TOP LEVEL FORM .VISIBLE = .T. .ENABLED = .T.Also you might check to be sure that you are not returning .F. from LOAD or INIT events of the form. That will shortcircuit instantiation and exit. You should also have a ON SHUTDOWN procedure and CLEAR EVENTS somewhere to allow proper exit.