본문 바로가기

Development/Delphi

[Delphi 7] Enter Key 이벤트 처리

엔터키를 누르면 다음 TabOrder 로 이동 시킨다.

KeyPress Event 내에 구현.

 If Key = #13 then Begin
   SelectNext(sender as TwinControl,True,True);
 end;

 

출처 : http://www.delmadang.com/