Close all (free) Child Window

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2117
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Close all (free) Child Window

Post 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 :?:
have fun
Jimmy
Post Reply