numbers editing bug (side effect from previous change) fixed

This commit is contained in:
Antonio Linares
2003-04-28 21:01:12 +00:00
parent 16713e6953
commit cfac79dbbd

View File

@@ -690,6 +690,10 @@ METHOD overstrike( cChar ) CLASS Get
::buffer := ::PutMask( ::VarGet(), .t. )
endif
if ::pos == 0
::pos = 1
endif
do while ! ::IsEditable( ::pos ) .and. ::pos <= ::nMaxEdit
::pos++
enddo
@@ -751,6 +755,10 @@ METHOD Insert( cChar ) CLASS Get
::buffer := ::PutMask( ::VarGet(), .t. )
endif
if ::pos == 0
::pos = 1
endif
do while ! ::IsEditable( ::pos ) .and. ::pos <= ::nMaxEdit
::pos++
enddo
@@ -1573,4 +1581,3 @@ STATIC FUNCTION IsBadDate( cBuffer, cPicFunc )
Next
return .f.