|
From: Itamar M. L. J. L. <ita...@gm...> - 2014-12-19 11:46:58
|
Hi! > Using of :bKeyDown ( as in a good Delphi program :) ) or SET KEY also >may help. Only for register. While use NOEXIT flag in DIALOG, the last get DISABLE <ENTER> key. Then if I used functio below not capture <ENTER> key. FUNCTION fOnKeyDown( oObj, nKeyPress ) IF nKeyPress == VK_RETURN //without effect SaveGetIntoDBF(.F.) //With last get not work "DIALOG NOEXIT" ELSEIF nKeyPress == VK_ADD SaveGetIntoDBF(.F.) //Works EndIf Now key "+" is my <ENTER> key :-)) I posted an example here, showing that when it arrives at last get the <ENTER> key is turned off even when just out to another object one BUTTON <ENTER> key remains off. >Itamar ( may I call you this way ? ) No problem, please feel free to call me with the name you want. Best regards, Itamar M. Lins Jr. |