Change "Enter" Key to "TAB" lazarus / 8-Other ---------------------------------------------------------------------- Kknd · 2006-08-16 00:06 Hi. In my application (windows app)  i have some dbedits, and i want to when the user press the "Enter" key it emulates de "TAB" key (jump to another dbedit). I tried about five different procedures that i found over the internet, but all of then uses specific windows "things".   Do anyone knows how to do this in Lazarus? Thanks for advance. ---------------------------------------------------------------------- Kknd · 2006-08-16 01:24 I tried to google it again, and i found a code made originally for kylix that worked =) (it works on delphi too)    If key = #13 then    Begin       Key:= #0;       SelectNext(activecontrol,True,True);    end;