Page 1 of 1

Close all (free) Child Window

Posted: Fri Aug 12, 2022 4:02 am
by AUGE_OHR
hi,

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
RETURN
that does close both Windows but App is still in Taskmanager running ...

so what is the way to close "Child" when close MAIN :?: