Delphi 4 and newer (versions Client/Server and up) have the capability of automatically creating declarations for functions/procedures. The key shortcut is Shift + Ctrl + C. To use it you have to enter the function/procedure declaration in the interface part and the press the above mentioned keystroke combination. The Delphi IDE will take care of the rest. It will add the necessary code. If the implementation is part of a class Delphi will recognize this and add the code at the end of the class, not at the end of the source code.
Tags: borland, capability, codegear, ctrl c, declarations, Delphi, delphi 4, delphi ide, function, ide, ides, implementation, interface, keystroke combination, Kylix, necessary code, procedure, procedure declaration, routine, shortcut, source code, tip, trick
Merlin’s Delphi Forge
Leave a comment