How to Focus the Next Control After Pressing Enter

Posted December 15th @ 9:31 pm by m3Rlin

By default the focus is passed to the next control by pressing the Tab key. Well, sometimes (when filling out forms) you may want to pass to the next control after pressing Enter. Well, here’s the code: For TEdit controls only:
Select all the TEdit controls you want to include (using the Shift key), then select [...]

How to Focus the Next Edit Control With the Enter Key II

Posted December 15th @ 1:57 pm by m3Rlin

When creating forms with a lot of data entry you may want to consider the option to let the user focus the next edit control by hitting the Enter key. The default key is Tab which can become annoying
All we have to do is add the following code the each TEdit control on the [...]

« Previous Entries