Set Enter Key to work like Tab Key in Delphi Application
In Delphi Applications, we use Tab Key to move focus from one control to another control. But some user prefer to press Enter key to move focus from one control to another control for speed data entry work. As Delphi does not provide such in-build facility or any in build property to set Enter Key as Tab. So here I will explain how to set Enter key to behave like Tab, and Shift+Enter like Shift+Tab. But before, I assume that there is no default button on the form. When a form contains a button and whose Default property is set to True then pressing Enter at run-time executes any code contained in the button's OnClick event handler. So here we will check with different examples for setting Enter key as tab in Edit controls, grid controls and globally on a form. For all Form controls that ability to focus We can set this functionality for controls like EditBox, Memo, Combo, Listbox, RadioButton, Checkbox etc and also other controls that have ability t...