Create a folder named "Paint" for this project, possibly in the "My Documents" folder on your computer. Of course you can name it anything you like, but I will use the name "Paint" in this article. Run Delphi and, in the file menu, choose "New Application"(Delphi 2010: File->New->VCL Froms Application - Delphi). This should create two windows named "Form1" and "Unit1". You can switch between them quickly by pressing the F12 key. Click on the unit so it is in front of everything else. Choose File - Save As, name it "main" and direct it into your paint folder. Then choose File - Save Project As and name it "paint".
Attributes | Values |
---|
rdfs:label
| - Create Your Own Paint Program
|
rdfs:comment
| - Create a folder named "Paint" for this project, possibly in the "My Documents" folder on your computer. Of course you can name it anything you like, but I will use the name "Paint" in this article. Run Delphi and, in the file menu, choose "New Application"(Delphi 2010: File->New->VCL Froms Application - Delphi). This should create two windows named "Form1" and "Unit1". You can switch between them quickly by pressing the F12 key. Click on the unit so it is in front of everything else. Choose File - Save As, name it "main" and direct it into your paint folder. Then choose File - Save Project As and name it "paint".
|
dcterms:subject
| |
abstract
| - Create a folder named "Paint" for this project, possibly in the "My Documents" folder on your computer. Of course you can name it anything you like, but I will use the name "Paint" in this article. Run Delphi and, in the file menu, choose "New Application"(Delphi 2010: File->New->VCL Froms Application - Delphi). This should create two windows named "Form1" and "Unit1". You can switch between them quickly by pressing the F12 key. Click on the unit so it is in front of everything else. Choose File - Save As, name it "main" and direct it into your paint folder. Then choose File - Save Project As and name it "paint". Click on the form. Press the F11 key to select the object inspector. Right under its title it should say "Form1" to indicate it is presently inspecting the details of the form. In the list below, find the item "name" and beside it change "Form1" to "MainForm". This will help keep things organized when you have lots of forms (windows and dialogs) in your project. Exit from Delphi, saving if it asks. Look in your Paint folder. You should find 5 files related to this project: main.pas, main.dfm and several beginning with paint. You will normally begin work on your project by doubleclicking on Paint.dpr - the project file.
|