Form and Component Editing Commands

Posted December 15th @ 3:52 pm by m3Rlin

Delphi and Kylix have a couple rather unknown form and component editing shortcuts. Here they are:

To select the form when its surface is covered by components, simply Shift-Click the form.
To fine move (by 1 pixel) a selected component just press Ctrl whilst pressing the cursor keys.
To fine resize a component just press Shift whilst pressing [...]

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 [...]