Hi!
Try to put "CLEAR EVENTS" before the "thisform.Release". Also, is it possible some object reference is not cleared in your application by way that some object could not be released?
>The main VFP window stays on the screen after I exit my program/form? I don't know why, unless it's the _SCREEN.Closable = .F. in my .PRG that starts my form. Here is my .PRG code that starts the application/form. In my form main menu exit button I have THISFORM.Release followed by CLEAR EVENTS. Here is my .PRG code. Any ideas?
>
>PUBLIC srch_rec def_memo
>srch_rec = ""
>def_memo = ""
>
>SET DEFAULT TO \datadict
>SET TALK OFF
>SET CLOCK OFF
>SET STATUS BAR OFF
>SET STATUS OFF
>SET SYSMENU OFF
>SET EXACT ON
>SET EXCLUSIVE OFF
>SET MULTILOCKS OFF
>SET DEVELOPMENT OFF
>SET NOTIFY OFF
>SET CONFIRM ON
>SET DELETED ON
>SET KEYCOMP TO WINDOWS
>SET CURSOR ON
>SET CENTURY ON
>CLEAR MACROS
>
>WITH _SCREEN
> .LockScreen=.T.
> .AutoCenter=.T.
> .BackColor=RGB(64,128,128)
> .BorderStyle=1
> .Caption="Data Dictionary"
> .ClipControls=.F.
> .Closable=.F.
> .ControlBox=.F.
> .MaxButton=.F.
> .MinButton=.F.
> .Movable=.F.
> .Height=480
> .Width=640
> .WindowState=0
> .LockScreen=.F.
>ENDWITH
>
>do form dictmenu
>READ EVENTS
>CLOSE ALL
>CLEAR ALL
>QUIT
>
>
>Thank you very much. I bet this is an easy one.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.