i call a "free" Window from MAIN to show MEMO
now i try to "close" it this Way
Code: Select all
PROCEDURE MAIN
DEFINE WINDOW FORUM AT 0, 0 ;
ON RELEASE BeforeRelease() ;
STATIC PROCEDURE BeforeRelease()
IF IsControlDefined( "RichEdit_1", "SHOWMEMO" )
DoMethod( "SHOWMEMO", "Release" )
ENDIF
RETURNso what is the way to close "Child" when close MAIN