|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 3 of 3 total|
|KeyPress problem in Firefox|
|Mon, Oct 16 2017 5:47 AM||Permanent Link|
I have the code below linked to some edits that are used for search criteria. It just allows the user to press Enter to initiate the search. In the EWB internal browser and in Edge, internet explorer and Chrome, it works as expected. But in Firefox, nothing happens. Do I need to do something else to get Firefox to work, or is this just a problem with Firefox?
Thanks for any advice,
function TfClientMaint.eSurnameKeyPress(Sender: TObject; Key: Char; ShiftKey, CtrlKey, AltKey: Boolean): Boolean;
if Key = #13 then begin
Result := True;
|Mon, Oct 16 2017 6:59 AM||Permanent Link|
Tactical Business Corporation
Paul Coshott wrote:
KyePress -> Use KeyDown
|Tue, Oct 17 2017 4:59 AM||Permanent Link|
<< KyePress -> Use KeyDown >>
Thanks for the info. I changed to the KeyDown event and now it's working in all browsers.