Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits. Anti-spam check. Do not fill this in!==How to use live templates== To use these "live templates," all you need to do is copy the XML snippet provided and save it in D2006: c:\Program Files\Borland\BDS\4.0\ObjRepos\Code_Templates\Delphi\ D2009: c:\Program Files\CodeGear\RAD Studio\6.0\ObjRepos\Code_Templates\Delphi\ with an xml extension. Alternate places to put them are D2006: c:\Documents and Settings\<username>\Local Settings\Application Data\Borland\BDS\4.0\code_templates\ D2009: c:\Users\<username>\Documents\RAD Studio\code_templates\ Note that you need to restart BDS if you just copy the file. Alternatively you can use the IDE to create a new template, delete all the automatically filled in stuff, copy and paste the template from below and use the IDE to save it. In that case the template will be immediately available. A suggested file name is provided above the snippet but you can use whatever you like. Summary: Please note that all contributions to the Delphi Programming are considered to be released under the CC-BY-SA Cancel Editing help (opens in new window) Retrieved from "https://delphi.fandom.com/wiki/Delphi_Live_Templates"