To create Delphi 8 Windows Form, mainform.
 
 
 
          
     
TheWindows Form -  mainform
 



   

 
Classes used in this Form:
          System.Drawing, System.Collections, System.ComponentModel, System.Windows.Forms, System.Data, System.Resources, Borland.Vcl.SysUtils

 Type of Controls used in this Form:
         
 Timer, ImageList, ToolBar, Label, Panel, PictureBox, Button, MainMenu
 

TheWindows Form -  mainform and  the Properties corresponding ...
  Rename the  WinForm.pas  file created and add controls ...

 
1.
  Picture files used by this form ...
 
  • The folder  c:\work_Delphinet\pic  stored the bmp files
                       z_calculator.bmp,  z_booknot.bmp,  z_agenda.bmp,  z_intro.bmp, z_about.bmp
                      calculator_2.bmp, address book_2, agenda_1. bmp, intro_icon_2.bmp, about_icon_2

 2-
  • Modify the  Properties of  TWinForm (WinForm.pas)   
    • Modify TWinForm (WinForm.pas) On the View menu , click  Object Inspector. In Object Inspector modify the following ... 940, 758

    Maximized mainMenu1

    Old New
    Caption:
    Name:
    Icon:
    Menu:
    Maximizebox:
    StartPosition:
    Size:
    Text:
    WinForm
    T
    WinForm
    (Icon)
    (none)
    True
    WindowsDefaultLocation
    300,300
    WinForm
    mainForm
    Tmainform
    (
    Icon)
    MainMenu1
    False

    CenterScreen
    940, 758
    work application ...

 

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

 

 Add the following controls to ...

 

 The codes  corresponding ...

 

 


 


Previous Home
3
Next