by Silvio.Falconi » Tue Sep 26, 2017 11:24 am
you must create a func and insert a codeblock
type this:
oBrw:bKeyDown := {|nKey| MyfunctionTecla(nKey,oBrw,oDlg) }
Function MyfunctionTecla(nKey,oGrid,oDlg)
Do case
case nKey==VK_RETURN
// here your function of modify record
case nKey==VK_INSERT
// here your function of add record
case nKey==VK_DELETE
// here your function of delete record
case nKey==VK_ESCAPE
oDlg:End()
OTHERWISE
IF nKey >= 96 .AND. nKey <= 105
// here your function of search record
ELSEIF HB_ISSTRING(CHR(nKey))
// here your function of search record
ENDIF
EndCase
return nil
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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