* source/rtl/getsys.prg
! Modification of work for save oGetList active.
Save oGetList for recursives calls to ReadModal().
Necessary to support post-evaluation functions
to the exit of the ReadModal().
eg: UPDATE()
This commit is contained in:
@@ -70,7 +70,7 @@ FUNCTION ReadModal( GetList, nPos, nMsgRow, nMsgLeft, nMsgRight, cMsgColor )
|
||||
FUNCTION ReadModal( GetList, nPos )
|
||||
#endif
|
||||
|
||||
LOCAL oGetList, oSaveGetList
|
||||
LOCAL oGetList //, oSaveGetList
|
||||
|
||||
#ifdef HB_COMPAT_C53
|
||||
LOCAL lMsgFlag
|
||||
@@ -89,7 +89,7 @@ FUNCTION ReadModal( GetList, nPos )
|
||||
oGetList:cReadProcName := ProcName( 1 )
|
||||
oGetList:nReadProcLine := ProcLine( 1 )
|
||||
|
||||
oSaveGetList := __GetListActive( )
|
||||
// oSaveGetList := __GetListActive( )
|
||||
__GetListSetActive( oGetList )
|
||||
|
||||
IF ! ( ISNUMBER( nPos ) .AND. nPos > 0 )
|
||||
@@ -142,7 +142,7 @@ FUNCTION ReadModal( GetList, nPos )
|
||||
|
||||
IF ISBLOCK( oGetList:oGet:Reader )
|
||||
#ifdef HB_COMPAT_C53
|
||||
Eval( oGetList:oGet:Reader, oGetList:oGet ,Ogetlist)
|
||||
Eval( oGetList:oGet:Reader, oGetList:oGet ,oGetlist)
|
||||
#else
|
||||
Eval( oGetList:oGet:Reader, oGetList:oGet )
|
||||
#endif
|
||||
@@ -160,7 +160,7 @@ FUNCTION ReadModal( GetList, nPos )
|
||||
endif
|
||||
#endif
|
||||
|
||||
__GetListSetActive( oSaveGetList )
|
||||
// __GetListSetActive( oSaveGetList )
|
||||
|
||||
SetPos( MaxRow() - 1, 0 )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user