::oBrw:Paste( "test" )
::oBrw:Name:VarPut(( "test" ) the record is locked but not unlocked.
How can we unlock this record again.
Thanks in advance
Otto
- Code: Select all Expand view
- METHOD Paste( cText ) CLASS TXBrwColumn
local uNew, cType
if ::cDataType $ 'CM'
if Eval( ::oBrw:bLock )
::Value := Trim( cText )
endif
else
uNew := uCharToVal( cText, @cType )
if uNew != nil
if ::cDataType == nil .or. ::cDataType == cType
if EVal( ::oBrw:bLock )
::Value := uNew
endif
endif
endif
endif
return nil
//----------------------------------------------------------------------------//