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 Size a Component Precisely

Posted December 15th @ 4:01 pm by m3Rlin

In the Borland Delphi and in the Borland Kylix IDEs you can precisely resize components to the exact size that you need. To resize a component to an exact size you can either use the Object Inspector and set the Height and Width values or use the Shift key to size components by 1 pixel.

« Previous Entries