<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9851064</id><updated>2011-07-28T11:38:09.502-07:00</updated><title type='text'>delphi memento</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9851064.post-110449307695723409</id><published>2006-12-31T03:37:00.000-08:00</published><updated>2005-01-03T15:35:26.723-08:00</updated><title type='text'>Directories organisation</title><content type='html'>There should be 5 distincts directories:&lt;br /&gt;&lt;br /&gt;- &lt;strong&gt;source directory&lt;/strong&gt; (called for ex. 'Projects source') -&gt; CD_EMERGENCY&lt;br /&gt;- &lt;strong&gt;source backup directory&lt;/strong&gt; (called for ex. 'Projects source backup') -&gt; CD_STORAGE&lt;br /&gt;- &lt;strong&gt;project management directory&lt;/strong&gt; (called for ex. 'Projects management') -&gt; CD_EMERGENCY&lt;br /&gt;- &lt;strong&gt;test directory&lt;/strong&gt; (called for ex. 'Projects test') -&gt; CD_EMERGENCY&lt;br /&gt;- &lt;strong&gt;production directory&lt;/strong&gt; (this depends on the user) -&gt; CD_EMERGENCY&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110449307695723409?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110449307695723409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110449307695723409' title='46 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110449307695723409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110449307695723409'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2006/12/directories-organisation.html' title='Directories organisation'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>46</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110449174288179509</id><published>2005-01-31T03:15:00.000-08:00</published><updated>2005-01-08T04:38:45.200-08:00</updated><title type='text'>[***] ShellExecute in Delphi</title><content type='html'>&lt;strong&gt;ShellExecute&lt;/strong&gt;: see &lt;a href="http://www.festra.com/eng/sourcefr.htm"&gt;festra&lt;/a&gt;&lt;br /&gt;uses&lt;br /&gt;  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, &lt;strong&gt;SHELLAPI&lt;/strong&gt;;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;//Open a document&lt;/strong&gt;&lt;br /&gt;sText:=InputBox('Node Document to Open', 'Document Path ?', sText);&lt;br /&gt;&lt;strong&gt;ShellExecute&lt;/strong&gt;(0,'&lt;strong&gt;open&lt;/strong&gt;', &lt;strong&gt;PChar&lt;/strong&gt;('Notepad.exe'),&lt;strong&gt;Pchar&lt;/strong&gt;('&lt;strong&gt;"&lt;/strong&gt;' + sText + '&lt;strong&gt;"&lt;/strong&gt;'), &lt;strong&gt;nil&lt;/strong&gt;, &lt;strong&gt;SW_SHOWNORMAL&lt;/strong&gt;);&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;//Explore a file folder with Windows Explorer&lt;/strong&gt;:&lt;br /&gt;ShellExecute(Handle, 'explore', PChar(ExtractFilePath (sText), nil, nil, SW_SHOW);&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;//Run a DOS command and return immediately&lt;/strong&gt;:&lt;br /&gt;ShellExecute(Handle, 'open', PChar('command.com'), PChar('/c copy file1.txt file2.txt'), nil, SW_SHOW);&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;//Run a DOS command and keep the DOS-window open ("stay in DOS")&lt;/strong&gt;:&lt;br /&gt;ShellExecute(Handle, 'open', PChar('command.com'), PChar('/k dir'), nil, SW_SHOW);&lt;br /&gt;&lt;br /&gt;From &lt;a href="http://www.bancoems.com/mini_faq_examples.htm#ShellExecute"&gt;http://www.bancoems.com/mini_faq_examples.htm#ShellExecute&lt;/a&gt;&lt;br /&gt;//uses ShellAPI;&lt;br /&gt;procedure RunAProgram (const theProgram, itsParameters, defaultDirectory: string);&lt;br /&gt;var&lt;br /&gt;  rslt: integer;&lt;br /&gt;  msg: string;&lt;br /&gt;begin&lt;br /&gt;  rslt := ShellExecute(0, 'open',&lt;br /&gt;                       pChar (theProgram),&lt;br /&gt;                       pChar (itsParameters),&lt;br /&gt;                       pChar (defaultDirectory),&lt;br /&gt;                       sw_ShowNormal);&lt;br /&gt;  if rslt &lt;= 32 then&lt;br /&gt;  begin&lt;br /&gt;    case rslt of&lt;br /&gt;      0,&lt;br /&gt;      se_err_OOM:&lt;br /&gt;        msg := 'Out of memory/resources';&lt;br /&gt;      error_File_Not_Found:&lt;br /&gt;        msg := 'File "' + theProgram + '" not found';&lt;br /&gt;      error_Path_Not_Found:&lt;br /&gt;        msg := 'Path not found';&lt;br /&gt;      error_Bad_Format:&lt;br /&gt;        msg := 'Damaged or invalid exe';&lt;br /&gt;      se_err_AccessDenied:&lt;br /&gt;        msg := 'Access denied';&lt;br /&gt;      se_err_NoAssoc,&lt;br /&gt;      se_err_AssocIncomplete:&lt;br /&gt;        msg := 'Filename association invalid';&lt;br /&gt;      se_err_DDEBusy,&lt;br /&gt;      se_err_DDEFail,&lt;br /&gt;      se_err_DDETimeOut:&lt;br /&gt;        msg := 'DDE error';&lt;br /&gt;      se_err_Share:&lt;br /&gt;        msg := 'Sharing violation';&lt;br /&gt;      else&lt;br /&gt;        msg := 'no text';&lt;br /&gt;    end;&lt;br /&gt;    raise Exception.Create('ShellExecute error #' + IntToStr (rslt) + ': ' + msg);&lt;br /&gt;  end;&lt;br /&gt;end;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110449174288179509?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110449174288179509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110449174288179509' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110449174288179509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110449174288179509'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/shellexecute-in-delphi.html' title='[***] ShellExecute in Delphi'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110536420857441107</id><published>2005-01-10T05:36:00.000-08:00</published><updated>2005-01-10T06:18:58.266-08:00</updated><title type='text'>Links</title><content type='html'>Forums:&lt;br /&gt;&lt;a href="http://www.programmersheaven.com/c/MsgBoard/wwwboard.asp?Board=4"&gt;http://www.programmersheaven.com/c/MsgBoard/wwwboard.asp?Board=4&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forum.hardware.fr/hardwarefr/Programmation/Les-logiciels-gratuits-pour-bien-programmer-sujet-41471-6.htm"&gt;http://forum.hardware.fr/hardwarefr/Programmation/Les-logiciels-gratuits-pour-bien-programmer-sujet-41471-6.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110536420857441107?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110536420857441107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110536420857441107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110536420857441107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110536420857441107'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/links.html' title='Links'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110536330233328158</id><published>2005-01-10T05:20:00.000-08:00</published><updated>2005-01-10T05:28:17.203-08:00</updated><title type='text'>How to use Splitter Control ?</title><content type='html'>Place 2 controls for example 2 richedit:&lt;br /&gt;- the left one with property 'align' to 'aleft'&lt;br /&gt;- the right one with property 'align' to 'alclient' !!!&lt;br /&gt;&lt;br /&gt;Then place the splitter in-between. For a horizontal splitter change splitter align property to 'altop'.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110536330233328158?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110536330233328158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110536330233328158' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110536330233328158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110536330233328158'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/how-to-use-splitter-control.html' title='How to use Splitter Control ?'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110518879664258749</id><published>2005-01-08T04:52:00.000-08:00</published><updated>2005-01-08T04:53:16.643-08:00</updated><title type='text'>Strings functions</title><content type='html'>&lt;strong&gt;Splitting a string:&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://www.bancoems.com/CompLangPascalDelphiMisc-MiniFAQ.htm#Q14"&gt;http://www.bancoems.com/CompLangPascalDelphiMisc-MiniFAQ.htm#Q14&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110518879664258749?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110518879664258749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110518879664258749' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518879664258749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518879664258749'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/strings-functions.html' title='Strings functions'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110518830692206310</id><published>2005-01-08T04:44:00.000-08:00</published><updated>2005-01-08T05:02:08.516-08:00</updated><title type='text'>Getting Directories and Paths</title><content type='html'>&lt;strong&gt;Splitting path functions:&lt;/strong&gt;&lt;br /&gt;ExtractFilePath&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Working Directory&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Path of the exe:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Application.ExeName&lt;/strong&gt; or &lt;strong&gt;ParamStr(0)&lt;/strong&gt; will return the full name of your executable.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110518830692206310?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110518830692206310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110518830692206310' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518830692206310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518830692206310'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/getting-directories-and-paths.html' title='Getting Directories and Paths'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110518812505802271</id><published>2005-01-08T04:40:00.000-08:00</published><updated>2005-01-08T04:43:14.426-08:00</updated><title type='text'>Testing the existence</title><content type='html'>&lt;strong&gt;Of a component:&lt;/strong&gt; &lt;a href="http://www.bancoems.com/mini_faq_examples.htm#RuntimeEventHandler"&gt;http://www.bancoems.com/mini_faq_examples.htm#RuntimeEventHandler&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Runtime-Assigned Event Handler Example&lt;br /&gt;&lt;br /&gt;Make a form, add a button called CreateButton, give it an OnClick handler and copy the following code into it:&lt;br /&gt;&lt;br /&gt;procedure TForm1.CreateButtonClick(Sender: TObject);&lt;br /&gt;begin&lt;br /&gt; if not &lt;strong&gt;Assigned(RuntimeButton1)&lt;/strong&gt; then&lt;br /&gt;  begin&lt;br /&gt;    RuntimeButton1 := TButton.Create(Self);&lt;br /&gt;    RuntimeButton1.Parent := Form1;&lt;br /&gt;    RuntimeButton1.Top := CreateButton.Top + 32;&lt;br /&gt;    RuntimeButton1.Left := CreateButton.Left;&lt;br /&gt;    RuntimeButton1.Caption := 'Press me!';&lt;br /&gt;    RuntimeButton1.OnClick := RuntimeButtonClick;&lt;br /&gt;  end&lt;br /&gt;  else if not Assigned(RuntimeButton2) then&lt;br /&gt;  begin&lt;br /&gt;    RuntimeButton2 := TButton.Create(Self);&lt;br /&gt;    RuntimeButton2.Parent := Form1;&lt;br /&gt;    RuntimeButton2.Top := RuntimeButton1.Top + 32;&lt;br /&gt;    RuntimeButton2.Left := CreateButton.Left;&lt;br /&gt;    RuntimeButton2.Caption := 'Press me too!';&lt;br /&gt;    RuntimeButton2.OnClick := RuntimeButtonClick;&lt;br /&gt;  end;&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;Copy the following lines into the declaration of TForm1 (put them in the public or private sections, but not where Delphi puts the objects added at design time):&lt;br /&gt;&lt;br /&gt;  RuntimeButton1: TButton;&lt;br /&gt;  RuntimeButton2: TButton;&lt;br /&gt;  procedure RuntimeButtonClick(Sender: TObject);&lt;br /&gt;&lt;br /&gt;Then copy this procedure into the implementation section:&lt;br /&gt;&lt;br /&gt;procedure TForm1.RuntimeButtonClick(Sender: TObject);&lt;br /&gt;begin&lt;br /&gt;  ShowMessage('A button that was created at runtime was just pressed.'&lt;br /&gt;              + #13#10#13#10&lt;br /&gt;              + 'The button''s caption is: "' + TButton(Sender).Caption + '"');&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;At runtime, initially there is only one button. If you press on it then a button with caption "Press me!" is created; if you press the original button again, a second button with caption "Press me too!" is created. Pressing the runtime-created buttons produces the ShowMessage dialog, which shows the caption of the button that was pressed. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110518812505802271?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110518812505802271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110518812505802271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518812505802271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518812505802271'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/testing-existence.html' title='Testing the existence'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110518663413298621</id><published>2005-01-08T04:16:00.000-08:00</published><updated>2005-01-08T04:20:43.576-08:00</updated><title type='text'>Glossary</title><content type='html'>&lt;strong&gt;Class:&lt;/strong&gt;&lt;br /&gt;A class, or class type, defines a &lt;strong&gt;structure&lt;/strong&gt; consisting of &lt;strong&gt;fields&lt;/strong&gt;, methods, and properties.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Object:&lt;/strong&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110518663413298621?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110518663413298621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110518663413298621' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518663413298621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518663413298621'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/glossary.html' title='Glossary'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110518139050886233</id><published>2005-01-08T02:49:00.000-08:00</published><updated>2005-01-08T02:49:50.510-08:00</updated><title type='text'>OOP in Delphi</title><content type='html'>&lt;a href="http://www.oreilly.com/catalog/delphi/chapter/ch02.html"&gt;http://www.oreilly.com/catalog/delphi/chapter/ch02.html&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110518139050886233?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110518139050886233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110518139050886233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518139050886233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518139050886233'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/oop-in-delphi.html' title='OOP in Delphi'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110518105365315691</id><published>2005-01-08T02:43:00.000-08:00</published><updated>2005-01-08T02:44:13.653-08:00</updated><title type='text'>Casting</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Example&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;Procedure Handler_AlwaysOnTop (Sender: TObject);&lt;br /&gt;Begin&lt;br /&gt;  TMenuItem(Sender).Checked:=Not TMenuItem(Sender).Checked;&lt;br /&gt;  SetAlwaysOnTop;&lt;br /&gt;End;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110518105365315691?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110518105365315691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110518105365315691' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518105365315691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110518105365315691'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/casting.html' title='Casting'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110517934340016331</id><published>2005-01-08T02:12:00.000-08:00</published><updated>2005-01-08T02:19:14.863-08:00</updated><title type='text'>How to cope with Win API Messages ?</title><content type='html'>&lt;strong&gt;In your form's class declaration put this&lt;/strong&gt;:&lt;br /&gt;&lt;br /&gt;procedure WM&amp;lt;%Window_Message_Suffix%&amp;gt;(var Msg: TWM&amp;lt;%Window_Message_Suffix%&amp;gt;);&lt;br /&gt;    message WM_&amp;lt;%Window_Message_Suffix%&amp;gt;;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;In your form's class implementation put this&lt;/strong&gt;:&lt;br /&gt;&lt;br /&gt;procedure TYourForm.WM&amp;lt;%Window_Message_Suffix%&amp;gt;(var Msg: TWM&amp;lt;%Window_Message_Suffix%&amp;gt;);&lt;br /&gt;begin&lt;br /&gt;  inherited;&lt;br /&gt;  with Msg do&lt;br /&gt;  begin&lt;br /&gt;&lt;br /&gt;  end;&lt;br /&gt;end;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110517934340016331?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110517934340016331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110517934340016331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110517934340016331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110517934340016331'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/how-to-cope-with-win-api-messages.html' title='How to cope with Win API Messages ?'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110513769996303826</id><published>2005-01-07T14:37:00.000-08:00</published><updated>2005-01-08T04:16:10.566-08:00</updated><title type='text'>Creating Custom Components</title><content type='html'>&lt;strong&gt;Fundamentals on classes:&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://info.borland.com/techpubs/delphi/delphi5/oplg/classes.html"&gt;http://info.borland.com/techpubs/delphi/delphi5/oplg/classes.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://delphi.about.com/library/bluc/text/uc061102b.htm"&gt;http://delphi.about.com/library/bluc/text/uc061102b.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110513769996303826?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110513769996303826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110513769996303826' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110513769996303826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110513769996303826'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/creating-custom-components.html' title='Creating Custom Components'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110511721815416965</id><published>2005-01-07T09:00:00.000-08:00</published><updated>2005-01-07T09:06:24.740-08:00</updated><title type='text'>Parent and Owner</title><content type='html'>The parent is the container.&lt;br /&gt;The owner is the creator. it is the parameter passed to the Create constructor. It can be changed with InsertComponent/RemoveComponent methods.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110511721815416965?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110511721815416965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110511721815416965' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110511721815416965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110511721815416965'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/parent-and-owner.html' title='Parent and Owner'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110511065301390741</id><published>2005-01-07T07:10:00.000-08:00</published><updated>2005-01-07T07:10:53.013-08:00</updated><title type='text'>How to detect the existence of a component / variable ?</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110511065301390741?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110511065301390741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110511065301390741' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110511065301390741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110511065301390741'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/how-to-detect-existence-of-component.html' title='How to detect the existence of a component / variable ?'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110510742111987573</id><published>2005-01-07T06:16:00.000-08:00</published><updated>2005-01-07T14:30:24.156-08:00</updated><title type='text'>[***] Creating a Control At RunTime</title><content type='html'>&lt;strong&gt;Var&lt;/strong&gt;&lt;br /&gt;&amp;lt;%VarName%&amp;gt; : &amp;lt;%ClassName%&amp;gt;;&lt;br /&gt;&lt;strong&gt;begin&lt;/strong&gt;&lt;br /&gt;&amp;lt;%VarName%&amp;gt; := &amp;lt;%ClassName%&amp;gt;.Create( Self );&lt;br /&gt;&lt;strong&gt;end;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;With &amp;lt;%VarName%&amp;gt; do&lt;br /&gt;Begin&lt;br /&gt;	Parent := Self;&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ClassName: {TMainMenu,TToolbar, TToolButton, StatusBar, TTabbedNotebook, TPanel, TMenu}&lt;br /&gt;&lt;br /&gt;For Splitter see&lt;br /&gt;http://www.delphifr.com/forum.v2.aspx?ID=226771&lt;br /&gt;Splitter := TSplitter.Create(Self);&lt;br /&gt;Splitter.Parent := Self;&lt;br /&gt;Splitter.Left := PnlGauche.Width;&lt;br /&gt;Splitter.Align := alLeft;&lt;br /&gt;Splitter.Width := 2;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110510742111987573?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110510742111987573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110510742111987573' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110510742111987573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110510742111987573'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/creating-control-at-runtime.html' title='[***] Creating a Control At RunTime'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110494002325904187</id><published>2005-01-05T07:46:00.000-08:00</published><updated>2005-01-05T07:48:50.566-08:00</updated><title type='text'>While Var = False do begin</title><content type='html'>&lt;a href="http://delphi.about.com/od/objectpascalide/l/aa091101b.htm"&gt;http://delphi.about.com/od/objectpascalide/l/aa091101b.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Guess := False;&lt;br /&gt;  while Guess = False do begin&lt;br /&gt;//...&lt;br /&gt;&lt;br /&gt;       Guess:=True;&lt;br /&gt;//...&lt;br /&gt;  end; //while&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110494002325904187?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110494002325904187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110494002325904187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110494002325904187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110494002325904187'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/while-var-false-do-begin.html' title='While Var = False do begin'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110492994137078595</id><published>2005-01-05T04:58:00.000-08:00</published><updated>2005-01-05T04:59:01.370-08:00</updated><title type='text'>Get the temp directory</title><content type='html'>ShowMessage(GetEnvironmentVariable('Temp'));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110492994137078595?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110492994137078595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110492994137078595' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110492994137078595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110492994137078595'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/get-temp-directory.html' title='Get the temp directory'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110477101278422330</id><published>2005-01-03T08:49:00.000-08:00</published><updated>2005-01-03T09:11:16.510-08:00</updated><title type='text'>Toolbar Memento</title><content type='html'>&lt;strong&gt;Toolbar&lt;/strong&gt; (Win32): a fixed barmenu; will require an &lt;strong&gt;imagelist&lt;/strong&gt; (Win32).&lt;br /&gt;&lt;strong&gt;Coolbar&lt;/strong&gt; (Win32): you can move it but originally it sticks to Caption and adjusts its width automatically to the client zone.&lt;br /&gt;&lt;strong&gt;ControlBar&lt;/strong&gt; (VCL): similar to Coolbar but can be placed anywhere.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ToolBar&lt;/strong&gt; INSIDE a &lt;strong&gt;Coolbar&lt;/strong&gt; or &lt;strong&gt;ControlBar&lt;/strong&gt; is possible.&lt;br /&gt;&lt;strong&gt;Panel&lt;/strong&gt; INSIDE a &lt;strong&gt;coolbar&lt;/strong&gt; or &lt;strong&gt;ControlBar&lt;/strong&gt; is possible.&lt;br /&gt;&lt;br /&gt;Project Coda1\Configuration_01 uses multiple panels INSIDE a ControlBar.&lt;br /&gt;Project Coda1\Configuration_02 uses a Toolbar INSIDE a Coolbar.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110477101278422330?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110477101278422330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110477101278422330' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110477101278422330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110477101278422330'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/toolbar-memento.html' title='Toolbar Memento'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110476525539861420</id><published>2005-01-03T07:09:00.000-08:00</published><updated>2005-01-08T01:57:05.790-08:00</updated><title type='text'>Delphi Language : the basics for absolute beginner</title><content type='html'>&lt;strong&gt;Comments&lt;/strong&gt;:&lt;br /&gt;// or {}&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;&lt;strong&gt;A procedure begins with 'procedure'&lt;/strong&gt;:&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;&lt;strong&gt;Ask an input and Show a Message Box&lt;/strong&gt;:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;procedure&lt;/strong&gt; TForm1.Button1Click(Sender: &lt;strong&gt;TObject&lt;/strong&gt;);&lt;br /&gt;&lt;strong&gt;var&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;WhatsName: &lt;strong&gt;string&lt;/strong&gt;;&lt;br /&gt;&amp;nbsp;WhatsAge: &lt;strong&gt;integer&lt;/strong&gt;;&lt;br /&gt;&lt;strong&gt;begin&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;WhatsName:= &lt;strong&gt;InputBox&lt;/strong&gt;('I ask you', 'What''s your name', 'John by default');&lt;br /&gt;&amp;nbsp;WhatsName:= &lt;strong&gt;InputBox&lt;/strong&gt;('I ask you', 'What''s your age', '');&lt;br /&gt;&amp;nbsp;&lt;strong&gt;ShowMessage&lt;/strong&gt;('Hello ' + WhatsName + &lt;strong&gt;IntToStr&lt;/strong&gt;(WhatsAge) + '!')&lt;br /&gt;&lt;strong&gt;end&lt;/strong&gt;;&lt;br /&gt;----------------------------------------------------------------&lt;br /&gt;  if ... then&lt;br /&gt;  begin&lt;br /&gt;    ...&lt;br /&gt;  end;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110476525539861420?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110476525539861420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110476525539861420' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110476525539861420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110476525539861420'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/delphi-language-basics-for-absolute.html' title='Delphi Language : the basics for absolute beginner'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110476499174884760</id><published>2005-01-03T07:06:00.000-08:00</published><updated>2005-01-03T08:49:05.900-08:00</updated><title type='text'>After Delphi Install</title><content type='html'>&lt;strong&gt;Deactivate Delphi Direct&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;- Menu Tools | Environment | Delphi Direct&lt;br /&gt;- Uncheck&lt;br /&gt;&lt;br /&gt;- Menu Tools | Designer &lt;br /&gt;- Uncheck 'Align on grid'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110476499174884760?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110476499174884760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110476499174884760' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110476499174884760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110476499174884760'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/after-delphi-install.html' title='After Delphi Install'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110475370023765228</id><published>2005-01-03T04:01:00.000-08:00</published><updated>2005-01-05T07:46:15.073-08:00</updated><title type='text'>Creating a dos console (command line) application</title><content type='html'>&lt;a href="http://delphi.about.com/od/objectpascalide/l/aa091101a.htm"&gt;http://delphi.about.com/od/objectpascalide/l/aa091101a.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;0. Select "File | New Application"&lt;br /&gt;1. Select "Project | Remove From Project..."&lt;br /&gt;2. Select Unit1 (Form1) and click OK. Delphi will remove the selected unit from the uses clause of the current project.&lt;br /&gt;3. Select "Project | View Source"&lt;br /&gt;4. Edit your project source file:&lt;br /&gt;   • Delete all the code inside "begin" and "end".&lt;br /&gt;   • After the uses keyword, replace the "Forms" unit with "SysUtils".&lt;br /&gt;   • Place {$APPTYPE CONSOLE} right under the "program" statement. &lt;br /&gt;&lt;br /&gt;. The $APPTYPE directive controls whether to generate a Win32 console or graphical UI application. The {$APPTYPE CONSOLE} directive (equivalent to the /CC command-line option), tells the compiler to generate a console application.&lt;br /&gt;. The uses keyword, as usual, lists all the units this unit uses (units that are part of a project). As you can see, the SysUtils unit is included by default. Another unit is included too, the System unit, though this is hidden from us.&lt;br /&gt;. In between the begin ... end pair you add your code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110475370023765228?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110475370023765228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110475370023765228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110475370023765228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110475370023765228'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/creating-dos-console-command-line.html' title='Creating a dos console (command line) application'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110465821163664120</id><published>2005-01-02T01:29:00.000-08:00</published><updated>2005-01-07T06:24:39.853-08:00</updated><title type='text'>Classical GUI Framework</title><content type='html'>- Full Screen App&lt;br /&gt;- Application Menu with TMainMenu&lt;br /&gt;- Toolbar Menu&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110465821163664120?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110465821163664120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110465821163664120' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110465821163664120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110465821163664120'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2005/01/classical-gui-framework.html' title='Classical GUI Framework'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110452710900740439</id><published>2004-12-31T13:04:00.000-08:00</published><updated>2004-12-31T13:05:09.006-08:00</updated><title type='text'>System Tray in Delphi</title><content type='html'>&lt;a href="http://delphi.about.com/cs/adptips2001/a/bltip1001_2.htm"&gt;Hide the Clock icon on Windows Tray&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110452710900740439?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110452710900740439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110452710900740439' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110452710900740439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110452710900740439'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2004/12/system-tray-in-delphi.html' title='System Tray in Delphi'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110449237503559529</id><published>2004-12-31T03:26:00.000-08:00</published><updated>2004-12-31T03:26:36.543-08:00</updated><title type='text'>All inclusions must be tracked for broken links</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110449237503559529?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110449237503559529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110449237503559529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110449237503559529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110449237503559529'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2004/12/all-inclusions-must-be-tracked-for.html' title='All inclusions must be tracked for broken links'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9851064.post-110440426287183810</id><published>2004-12-30T02:57:00.000-08:00</published><updated>2005-01-08T04:13:20.406-08:00</updated><title type='text'>Command line compilation</title><content type='html'>&lt;strong&gt;Use of DCC32.exe&lt;/strong&gt;:&lt;br /&gt;&lt;a href="http://info.borland.com/techpubs/delphi/delphi5/oplg/overview.html"&gt;http://info.borland.com/techpubs/delphi/delphi5/oplg/overview.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Tools for creating cfg configuration file&lt;/strong&gt;:&lt;br /&gt;&lt;a href="http://www.cublea.net/delphi/cfgmaker/"&gt;http://www.cublea.net/delphi/cfgmaker/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9851064-110440426287183810?l=delphi-memento.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://delphi-memento.blogspot.com/feeds/110440426287183810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9851064&amp;postID=110440426287183810' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110440426287183810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9851064/posts/default/110440426287183810'/><link rel='alternate' type='text/html' href='http://delphi-memento.blogspot.com/2004/12/command-line-compilation.html' title='Command line compilation'/><author><name>mjkon</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
