Otto,
making the modifies this afyernoon perhaps it can run
the new record is ok
the modify record is ok
I have problems when I delete a row
on xbrowse of yunus it delete with
:bKeyDown := { |k| If( k == VK_DELETE, ( oBrowse:aAppend := nil, oBrowse:Delete(), 0 ), nil ) }
I insert a button at xbrowse with
WITH OBJECT oBrowse:aCols[ 12]
:AddBitmap({"delete.bmp","broom.png"})
:nBtnBmp := 1
:lBmpStretch := .F.
:lBmpTransparent := .T.
:nwidth := 30
:nEditType := EDIT_BUTTON
:bEditBlock := { || oBrowse:Delete() }
:nHeadBmpNo := 2
:cHeader := ""
END
this seem be not the same
when I save the rows
I use this
if ! Empty( oBrowse:aDeleted )
AEval( oBrowse:aDeleted, { |a| a[ 18 ] := -a[ 18 ] } )
oRigheInvoice:SaveArrayToDBF( cItemFlds,oBrowse:aDeleted ) // save the delete records
endif
If I use my method not run ok
in fact it does not delete (on dbf) the lines that I have deleted on xbrowse
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com