Create Delphi VCL Forms Application and VCL Form - MainForm.
 
 
 
 
1. Create Delphi VCL Forms Application

    
On the File menu , click  New. and then click VCL Forms Application. New Project - Project1 and New File name Unit1.pas appears.
                                              Form created:
 



On the View menu , click  Project Manager. In Project Manager appears all components created ...

              Project Manager :




 Rename  the  components created ...

 On the View menu , click  Object Inspector. In Object Inspector modify the following ...

 
 1-  Project1 -  VCL Forms Application created
 

  Old New
File Name: Project1.bdsproj App-VCL.bdsproj

   2-  Unit1.pas - the File name  created
 

  Old New
File Name: Unit1.pas MainForm .pas


   3 - Form1 -
 Form  name created  
 

  Old New
Name: Form1 Main_Form

                                                                Details, look:    Modify the  Properties of  Form1 (Unit1.pas)   
                           

2. TheWindows Form -  Mainform,  design
 


   

  Classes used in this Form:
         Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, System.ComponentModel, Borland.Vcl.Menus, Borland.Vcl.ComCtrls, Borland.Vcl.ExtCtrls, Borland.Vcl.StdCtrls.


 
Type of Controls used in this Form:
          MainMenu, Timer, Image, Label and  StausBar

 
 1- Modify the  Properties of  Form1 (Unit1.pas)
  • Modify Form1 (Unit1.pas) On the View menu , click  Object Inspector. In Object Inspector modify the following ...
     
  •   Old New
    Caption:
    Name:
    Icon:
    Menu:
    Border Icons
        biMaximize:
    Position:
    Height:
    Width:
    Form1
    Form1
    None
    (none)

    True
    poDefaultPosOnly
    240
    347
    MainForm
    Main_Form
    T
    Icon
    (none)

    False

    poDesKtopcenter
    492
    609

 

 Save the following files created ...
  • On the File menu , click  Save As, the Save Mainform As dialog box appears
  • In C:, Create  the Folder App-VCLDelphi (C:\App-VCLDelphi), in this Folder save the Form - Mainform and the Application App-VCL  

 

 Add Folder and  picture files ...

 

 Add the following controls to ...

 

 The codes  corresponding ...

 

 

 


Previous Home
2
Next