At line 357 i see :
Code: Select all
if lRet == nil .or. ( !LWRunning() .and. lRet )
SET RESOURCES TO
ErrorLevel( 1 )
// Add these lines if using MDI child windows with dialogboxes
// for n = 1 to Len( GetAllWin() )
// if ValType( GetAllWin()[ n ] ) == "O"
// GetAllWin()[ n ]:UnLink()
// endif
// next
QUIT // must be QUIT !!!
endif
It has no sense that we have to check the source to make changes for our aplication
Are MDI child windows with dialogboxes constructions as :
Code: Select all
DEFINE WINDOW oWndChild MDICHILD OF oWnd
DEFINE DIALOG oDlg RESOURCE "TESTXbrowse" OF oWndChild
Code: Select all
DEFINE DIALOG oDlg RESOURCE "TESTXbrowse" OF oWnd
Frank