show deleted Record with
Posted: Mon Dec 09, 2019 4:11 am
hi,
i have
and a Codeblock like this
it change Color ... but more than i want
so how get it "stable" to show when Record is Deleted()
i have
Code: Select all
ALLOWDELETE .T.
DYNAMICFORECOLOR { bColor , bColor } // just have 2 Field
Code: Select all
PUBLIC bColor := {|| IF(Del_Color(), {128,128,128} , {128,255,255} ) }
FUNCTION Del_Color()
LOCAL nRow := Getproperty( "ReplayTo", "Grid_Reply", "CellRowFocused" )
ORDKEYGOTO(nRow) // have Index so ORDKEYGOTO() instead of GOTO()
IF DELETED()
lRet := .T.
ELSE
lRet := .F.
ENDIF
RETURN lRet
so how get it "stable" to show when Record is Deleted()