Close all (free) Child Window
Posted: Fri Aug 12, 2022 4:02 am
hi,
i call a "free" Window from MAIN to show MEMO
now i try to "close" it this Way
that does close both Windows but App is still in Taskmanager running ...
so what is the way to close "Child" when close MAIN
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