numbers editing bug (side effect from previous change) fixed
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user