some minor fixes to let the debugger inspect a GetNew() object

This commit is contained in:
Antonio Linares
2001-02-08 10:23:51 +00:00
parent 0388ec5a9a
commit b81936bd25

View File

@@ -315,7 +315,7 @@ METHOD End() CLASS Get
local nLastCharPos
if ::HasFocus
if ::HasFocus != nil .and. ::HasFocus
nLastCharPos := Min( Len( RTrim( ::buffer ) ) + 1, ::nMaxLen )
if ::Pos != nLastCharPos
::Pos := nLastCharPos
@@ -413,7 +413,9 @@ return Self
METHOD VarPut( xValue ) CLASS Get
Eval( ::block, xValue )
if ::block != nil
Eval( ::block, xValue )
endif
return xValue