Add
NAME oViewWindow
clause to your DEFINE WINDOW command and than try to close this window with
oViewWindow.release()
>Hello
>
>In the form I want display the vfp editor:
>
> lcWindowName="vfpeditor"
> lcfilename = "c:\test.prg"
>
> Define WINDOW (lcWindowName) ;
> FROM lnFromY,lnFromX TO lnSizeY,lnSizeX ;
> FONT "Courier New",10 ;
> DOUBLE;
> IN WINDOW (THISFORM.NAME) ;
> NOCLOSE
>
> Modi COMMAND (lcFileName) ;
> WINDOW (lcWindowName);
> IN WINDOW (THISFORM.Name) ;
> NOWAIT
>
>
>The form displays fine.. but I can't find way to close this window :( hide,release not works Any ideas...
>Thanks
>Denis
--sb--