Lock keyword (templates)

This is a follow-up on the post about the “Lock keyword” emulation in Delphi. Just created 2 templates that you can use in your Delphi code to speed-up writing:
[download#34] [download#35]

Drop them into X:\Program Files\CodeGear\RAD Studio\6.0\ObjRepos\Code_Templates\Delphi directory and you will be able to usem them in all your applications.

Note: To manually invoke the template write “lock” and press CTRL+SPACE. If you also copy the automatic version, just type lock and press space and it will automatically type in the code.