      Delphi 

      

     2 

     ,    

       IDE,        
:    ,       . 

       

       -   (Object Inspector)  
  (Form Designer),     
  . 

      (Code Editor) 

       IDE,      
    - . 

        IDE 

       (Project Manager),   
     . 

      (Object Repository) 

          ,    
           
        . 

    a        
 .   ,    
      ,    
     .      
,      ,  ,   
,         . 
 ,    ,      
 ,   ,   ,  
   . , , 
  ,      
,        .  
        ,     
,     . 
          Delphi (Integrated 
Development Environment,  IDE)     .  
      ,   , 
   ,      
      Delphi. 
     ,      Delphi,     
,        IDE.     
   ,   . ,    
   ,        
  Delphi    ,  ,   
 ! 

24


       

          .   
,   ,    ,    
,   . 
       Delphi        
     ,   . 2.1. 

    . 2.1.  ,    IDE 

          . 

         (Menubar).      
  Windows.   Delphi    
  ,  IDE,    , 
    ,      
      .    
     . 
         (Speedbar).    
      .   "" 
       .  
      ,   . 
         (Component Palette).    
,      !   
       ,   
  ,      ,    
 . 

      

          IDE Delphi    
 . 

      

      Delphi        
          .  
  ,  Delphi     
 (Single Document Interface,  SDI),    
 (Multiple Document Interface,  MDI).    
  SDI  MDI    8, " ". 

    I  I

             
         
   <F1>. 

    I  I 

           , 
    . 

     File 

       Open, Save  Close,  File  
    ,    . 
        New    New Items,  
      ( MDI,   
).      ,   
  (Object Repository),     
   "  ". 

     2.   Delphi 25 

    I  I 
          ,  
 Reopen. 

    I  1      
           Delphi 
      

         

           uses     
,   Use Unit.       
Use Unit,   . 2.2.    ,     3, 
"Object Pascal:  ", ,  ,   
Delphi   uses. 

       

        (Add to Project  Remove from Project) 
      "  ". 

        

     Print       ,  
         
  Print Selection,   . 2.3. 
       Header/page number (/ ).    
    Delphi   ,    
 . 
       Line numbers ( ).      
 ,    Basic  .   
    . 
       Syntax print ().      
  ,       
 ,   . 
       Use color ( ).      
  .    - ,   . 
       Wrap lines ( ).       
 ,    ,    ,  
    ,    . 
       Left margin ( ).      
,     .    
    ,       
         . 

      Delphi 

       File   Exit,     
    .  ,     
-      . 

     Edit 

     Edit     ,  
Redo, Cut  Paste.         
 ,       . 
      Select All    ,   
     . 
           ,    
:  Edit      . 
       Object    ,  
   OLE.   Delphi    
.     OLE,   18, 
"  OLE,      ActiveX",  20, 
" OLE". 

     Search 

      Search     , 
 Find, Replace  Go to line "x".      
.      Delphi      
,        . 

    26  I.   


     , -      

             
(   ),        
     Find Error.    
          Find 
Error (. 2.4),       Delphi     
, -    . 

    . 2.2.     Use Unit   uses   
   

    . 2.3.   Print Selection     

    . 2.4.   Find Error      
,   

     Browse Symbol   Object Browser 

     Object Browser ( )   ,   
   ,      
,   .     
     ,    . 2.5. 

    . 2.5.     (Object Browser)   
  

           ,     
       .    
  Browse Symbol.       
,         
.    ,   . 
    1.     Search     Browse Symbol.  
     Browse Symbol,   . 2.6. 
    2.       ,    , 
 TForm. 
    3.      ,       , 
    TForm (. 2.7). 

     2.   Delphi 27 


     View 

       View ,   IDE    . 
 ,      IDE.   
    . 

    I  I
         ,  <Alt+F4>. 

      Project Source.         
     ,    .   
    ,       
  (GUI)  . 

     

             , 
     Delphi   ,     
          ! 

       Window List.        
Window List (. 2.8),     IDE. He  
  ,          
       . 

    . 2.6.   Browse Symbol     
     Object Browser 

    . 2.8.   Window List     IDE 

    . 2.7.   (Object Browser)     
 Tform 

       Toggle Form/Unit.      
    .      
  ,        
 . 
       New Edit Window.        
, Delphi         , 
 . ,   ,       
   ,      
(. 2.9). 
       Speedbar  Component Palette.      
    .     ,   
   ,         
           
   Component List. 

    28  I.   


    . 2.9. Delphi        

      

        View  CPU Window,    
  Disassembly View   "" ,  
     ,   
 :      (Registry). 
  (      ) 
HKEY_CURRENTUSER\SOFTWARE\BORLAND\DELPHI3\DEBUGGING   
 EnableCPU.        View, 
      1; ,  0, 
   . 

     Project 

     ""  Project  ,     
.  Add to Project  Remove from Project    
"  ",   Add to Repository    
"  ". 

      

     Project     ,    . 
       Compile.      ,  
    .     
 ,       
    (DLL). 
       Build All.    ,    
     . 
       Syntax Check.     ,  
    .     
 .         
  . 
       Information.       (. 
2.10)      ,  
     . 

    . 2.10.   Information      


      

     Options,    ,   
 ,      6, " 
 Delphi". 

     2.   Delphi 29 

     Run 

      Run (<F9>)   .     
 ,        
  ,     
     . 

    I  1 
         (desktop layout)   
    Run.      Autosave, 
      "  ". 

      Parameters    Run Parameters,  
    . 
         .   DLL   
 Delphi   ,     
 .   Host application   , 
    DLL,    
         .  
   DLL    27, "  ". 
          .      
    Windows.    , 
     , Windows   
    . Windows      
 :  DDE       .   
  ,   DDE,   ,   
         . 
   Run Parameters    
,        IDE,  
  . 
      ,   Step Over, Add Watch  Evaluate/Modify, 
   27. "  ". 

     Component 

     Component     (New),  
    (Install)       
 (Add Component Template).      
   16, " ". 
     Create Component Template    
  ,   TLabel  TButton,   
    .     
    ,     
 .        
   16. 
       Configure Palette    . 
     " ". 

     Database 

       Explore     (Database 
Explorer),    12, "  ". 
      SQL Monitor   SQL Monitor.  
  (SQL)       
 10, "    SQL". 
      (    Form Expert)    
    .       
    9, "    ". 

     Tools 

       Options    Environment Options, 
    "  ". 
      Repository    ,  
   "  ". 
     Tools    ,    
Tools.        ,  
 . 

    30  I.   

    1.     Tools     Configure Tools.  
    Tool Options,   . 2.11. 
    2.      Add,       
Tool Properties,   . 2.12. 

    . 2.11.     Tool Options   
      

    . 2.12.    Tool Properties   
  Tools 

    3.       Title ,      
 Tools       (, Notepad). 
    4.       Program ,     
  (, NOTEPAD.EXE). 
    5.      .   Tool Properties ,   
  Tool Options   . 
    6.      Close.   Tool Options ,   
 Tools   . 

      

         ,   
    ,     
Delphi.        .   
   ,   File     Print, 
      ,   . 
    1.         ,  
  . 
    2.        Properties.    
  Speedbar Editor,   . 2.13. 
    3.      (Categories)   File.    
   (Commands)   ,  
  . 
    4.           Print active form 
or unit (    ). 
    5.     Print active form or unit    
Speedbar Editor      .     
   ,   Print. 
    6.      Close,     Speedbar Editor. 

    . 2.13.        
Speedbar Editor 

     2.   Delphi 31 

     
       . 
           ,     
    . 
            ,     
 (   Speedbar Editor). 
            ,      
     Speedbar Editor. 
              , 
   Reset    Speedbar Editor. 

      

        ,    
.      ,   
   ,     . 
          Delphi.  
    ,     "" 
.       ,   
     ,   , 
    . 
    -  Delphi     
 .        , 
          
,     .  
           
 .       6, 
"  Delphi",  7, "   Win32". 
     16, " ". 
            
         . 

      
              
  View=>Component List.      
  Components (. 2.14),      
    . 

           
. 
       Standard.  Standard   ,  
     Windows (, TMainMenu, TButton, 
TList-Box  TLabel). 
       Additional.    ""   
,  .    TSpeedButton, TStringGrid  
TImage.  TSplitter       
     ,    
 Delphi      .  TChart  
     .         
 Delphi-   . 

    . 2.14.   Components     
   

       System.   System  ,   
      .   
  TTimer,       
  .     
  . 
       CommCtrl.     ,   
  Windows 95     Windows NT. 
      TTreeView  TListView. 
       Dialogs.      ,   
   Windows ,  TOpenDialog  TSaveDialog. 

    32  I.   

       Data Access.  Data Access  ,  
  ,    .  
    bl  TSession,    
     . 
       Data Controls.       
 .       
    ,    Data Access. 
 , ,   ,  TDBGrid, TDBChart  TDBCheckBox. 
       Win3.1.   Win3.1  ,   
Delphi 1,      Win32    Windows 
95. ,  Delphi 1 TTabbedNotebook    TPageControl. 
       Internet.    ,   
,    ,   Internet,  
intranet-.       ,  
TSMPT, THTML  HTClientSocket. 
       Samples.   Samples     
 .  TGauge    
   .  CommCtrl    
(progress bar),     Windows. 
       ActiveX.  ActiveX   ,  
  Delphi     OLE  ActiveX. 
       Qreport.         ReportSmith. 

    I  I   
            . 
         <F1>. 


        

           ,  
    ,     
      . 
       ,     
,   . 
    1.         .  
 . 
    2.        Properties.    
  Environment Options     
(Palette),   . 2.15. 

    . 2.15.  Palette   Environment Options  
       


     2.   Delphi 33 
    2  Delphi 3.   


           . 

             .   
    ,     
   (Pages  Components),      
Move Up ( )  Move Down ( ). 

    I  I 
        ,     
   . 

        .       
   Add     . 
        .   ,    
  Pages,    Rename    . 

      
         Components  Add  Rename  . 

        .   ,      
Pages     Delete.     ,  
   .     ,   Delete 
   ,   -   Pages. 
        .      ,   
,     Components     Hide.  
  ,   Hide    ,   
  Components. 

          

    W W W 	          , 
-        ( 
  ,   ,      
 Internet,  Delphi).        
   Delphi,  news://comp.lang.pascal.delphi.components.misc. 

            
 :      . 
               
 15, "  ". 

       

      (Object Inspector),     . 
2.16,         
 .        (Form 
Designer)    (Code Editor)        
"     ". 
           
  . 

      
        ,      
. ,       "",  
   TButton  ,   TLabel,  
   TButton  TLabel.      
     4, "Object Pascal:  ". 

    . 2.16.        


    34  I.   

        Object Inspector   ,  
   ,    . 

      
        ,   
    .     
    . 
            . 
            ,    
  Object Inspector. 
          -  ,   <Esc>  
 ,      .      
 . 
         <Ctrl+Shift>     . 

           .  
  . 
       Properties.       
,      ,    . 
       Events.      ,    
.      ,      
(   Object Pascal),  ,   
 .          
" "    6, "  Delphi". 
           .    
  ,      . 

      

           , 
  ,     .   
 TButton,      .     
  ? 
         .   
    DFM (Delphi ForM)   , 
          
  . 
        . 
       .        
,   .      
,  Width,    ,  Caption. 
       .         
   ,   
     . ,  Cursor 
   ,       
    ,      
,  . 
       .         
  .        
    True/False     . 
      Borderlcons  TForm ( 
      ,    
  ). 
       .          
  ,      . 
  ""       
 ,       
.        
     ,     . 
 Font          
           
 . 
        ,   
    ,  "  Delphi  
?".     . 
    1.     File    New Application.  
,  , . 
    2.     <F9>     ,  
     ,   . 2.17. 
    :       "Forml". 
    3.    . IDE Delphi    . 

     2.   Delphi	35 


      
            . 

      
       ,     
  Delphi    . 

    4.       (Object Inspector)    
 Caption.       . 

    I  I
        ,     
.        . 

    . 2.17.   Delphi 

    . 2.18.        
    ! 

    5.     "Forml"  "  Delphi  ?". 
   ,        
 . 

      
              
  .        
,   <Enter>       Object Inspector. 

    6.     <F9>     .  
  ,     (. 2.18). 
    7.    . IDE Delphi    ,   
: " -?". 

     Name 

              
.  ,        
    .     , 
  Caption      Object Inspector 
(      ).     
         . 
       Caption  
      Object Pascal. 
       ,     .  
     ?  :   Name.  
  ,     Name   
 "Forml".    Caption  : 

    Forml.Caption := 'AfileName'; 

      Object Pascal   "AfileName"   
Caption   "Forml".     Object Pascal 
   3, "Object Pascal:  ",  4, "Object 
Pascal:  ". 

    36  I.   


     
           Delphi 
   Name  ,   
   .  ,   
     .    
  " "    ""',  
    (,  "edtPassword"     
,    ?). 


      

    ,     ,  MS DOS,  
  (    ). , 
       MS DOS     
   . 
    1.	 . 
    2.	 . 
    3.	  . 
    4.	       . 
    ,       ,   
   ,  -   ,     
   . 
    Windows    .   Windows  
  :        
 .      . 
       
,          
      - .     
      ,   
   ! 

     
            
, ""        
  ,       .  
 , ,      
    )   . 

            Windows-,    
    ,    ,      
Save.      ,   ""  
     Object Pascal-, 
  . 
            
 Object Pascal-. ,    
(,  ),  ,     . 

      
          . 
        ,   
  ,   .

          ,  
  . 
       Delphi     , 
         
.       ( 
Caption)         . 
    1.     File,   New Application,   
 . 
    2.      Events    . 
    3.        OnClick.    
 (Code Editor),          
 FormClick. Delphi       
   OnClick     . 
    4.     <>,    ,   
  (     ,   . 2.19): 

    Caption   := Application.EXEName; 


     2.   Delphi	37 


    Ha  
        ,     Caption.  
      ,  
  "",    
  .  ""    , 
         . 


    . 2.19. Delphi       
     

    5.	  <F9>     .  
   "Form 
    6.	    .     
  . 
    7.	 . IDE Delphi  . 


    I  I   
        , Delphi     
,   Click    OnChange    . 

     
        Name , Delphi  
    . 

     ,   " Visual Basic"     
 ,  .      
     .    ! 
     8, " ". 

        

          ,  
       ,   
.   ,     
        , 
   Events.      . 
    1.     File,   New Application,   
 . 
    2.      .   (Code Editor)  
    OnCreate,    
 FormCreate. 
    3.          Code Editor . 
     ,   . 2.20. 
    4.     Events   Object Inspector. 
    5.        OnCreate,     
     OnCreate,   FormCreate. 

    38  I.   


    . 2.20. Delphi   ,    
   


          

      (Form Designer)    (Code Editor)  
     ,      
   . 
    ,  ,      Delphi 
 DFM-,       (Form 
Designer).  ,    (    
),    Delphi  PAS- ( Object 
Pascal). PAS-   .    
  Delphi    3, "Object Pascal:  ". 

      

      (Form Designer)    , 
""  IDE.          
,      .   
,  bl  TTimer,       
 ,         
      (Object Inspector).  
      ,      
  .        
    . 
    	   . 
    	    . 
    	       Object Pascal, 
   . 

        

               
.       ,  
        
 . 
           ,   
     .    . 
    1.     File,   New Application,   
 . 
    2.        . 
    3.       .      
      .  . 2.21    
  TButton    . 

    . 2.21.        .   ! 


     2.   Delphi 39 


    I  I
      ,       . 

    I  I 
         ,     , 
       . 

    I  I 
            ,   
        <Shift>. 
           , 
    .      
      ,  
    . 

          ,  
    -.  ,  
   ,  .   
""     TGroupBox. 
    1.	  File,   New Application,    . 
    2.	     TGroupBox.    
  Standard. 
    3.	  ,    TGroupBox   GroupBoxl. 
    4.	     TButton.    
  Standard. 
    5.      TGroupBox,      
 .     GroupBoxl   ( 
TButton),    . 2.22. 
    6.       . ,    
  . 

    . 2.22.         


     
         TGroupBox,     
,      (   ,   
TButton  ""  TGroupBox). 

      
      ,  Left  ,  
   . 


    40  I.   


    I  I 
               "" 
 ,   Edit=>Cut,   
    .      
      Edit=>Paste. 

    I  I 
        ,  ,    
<Escape>    . 


        

    ,         
Caption.         
   . 
           
           <Shift> 
   . 

     
        ,     .

             
   . ,    TButton  
TEdit,  Caption    ,      
  . 

     
     Name     .   
  Name,      ,   
     .     
 . 


        

              
     . 
       Align To Grid.     .  , 
 Align To Grid    Left     
    .     ,   , 
        . 

    I  I
            Environment Options. 

       Bring To Front  Send To Back.  Left, Top, Width  Height 
   . Delphi   
,     (,  Z).  
Bring To Front    ()   
 Z,      Send To Back   ()  . 
       Revert to inherited.       ,  
    ,    . 
       Align.       Alignment,  
  ,    . ,   
  Space equally,     , 
      . 

    I  I 
      Alignment Palette       
 .   View    Alignment Palette. 


     2.   Delphi	41 

       Size.       Size,   
    Width  Height.    
Size, ,    ( Width)   
     . 
       Scale.      ,  
      Left, Top, Width  
Height   . ,  ,  50%, 
       . 
       Tab Order.      Windows   
,       .  ,  
          
  <>.  TabStop    
 .   Tab Order    
Edit Tab Order (. 2.23),       
 . 

    . 2.23.   Edit Tab Order    
    


    I  I
       TabStop , Delphi   
    . 

    Creation Order.     ,   
  . 

     
       ,       
.        
     ,     
   . 

       Add To Repository.         
 (Object Repository). ,       
 ,   ? 
       View as Text. ,       
   ,     
 .         
  Delphi   DFM-   .  
        ,  
       View as Form. 

      

      (Code Editor),   . 2.20,    
,   "    "  .  
          
  "" ,    ,   
     ,      . 
            Environment 
Options,      "  ". 

        

         (Speedmenu),  
 . 

    I  I 
       ,  <Alt+F10>. 

       Close Page.      .  
     . 


    42  I.   


    I  I 
          ,  <Ctrl+S>. 

       Open File at Cursor.       
,      .  Delphi   
  ,       . 

    I  I 
          ,  <Ctrl+Tab>,  
      <Shift+Ctrl+Tab>. 

        New Edit Window.       . 
        Browse Symbol at Cursor.   ViewOBrowse Symbol   
        Browse Symbol. 
        Topic Search.        , 
   . 
        Debugging Commands.   Breakpoint, Run to Cursor, 
Evaluate/Modify  Add Watch at Cursor,     27, 
'  ". 
        View as Form.     .    
   ,      ,  
  . 
        Read Only.      . 
        Message View.    ,   
     . 
        Properties.    Environment Options. 

    Code Insight 

    Code Insight      ,  
   ,     
     .   
     Environment Options. 

    Code Completion 

              
 ,   ,     . , 
        frmMain.  (   ) 
   frmMain.   <11>+ ,  
  Code Completion,   Delphi  
  ,   ,    frmMain. 

    Code Parameters 

    Code Parameters ( )      ,  
         
  .      ,  
Format,  Delphi    . 

    Code Templates 

    Code Templates ( )     
 ,  if. . .then  for. . .do.   
 ,      (, case) 
  <Ctrl+J>.     ,   . 
2.24. (   ,       
 case.) 
          ,   
 ,   <Enter>   .    
 ,  <Escape>    . 

        

       Delphi  ,   .   
        ,   
,      . 
    1.     Tools=>Environment Options   Code Insight,  
  Code Insight,   . 2.25. 
    2.      Add,     Add Code Template, 
  . 2.26. 

     2.   Delphi 43 


    . 2.24.         

    . 2.25.    Code Insight    
      


    3.       Shortcut Name      . 
    4.      Description     
 . 
    5.      .   Add Code Template ,  
    Templates,    . 
    6.           Code. 
    7.           . 


    . 2.26.   Add Code Template    
  


    I  I
        Code Templates   - 
  ,      
 Templates.     Delphi     
 ,            
,     . 

     
        ,      
Add,     Code Templates      
  Templates. 


       

    IDE Delphi   .     
   ,      
 ,    IDE. 

      

        Environment Options,   . 
2.27,   Tools=>Options.    Environment Options 
  . 
       Preferences.     . 
    . 
       Autosave options.   ,  Delphi  
   .  Editor files   
     .  Desktop 
       IDE. 

    44  I.   

    Shared Repository.     ,   
   ,     .  
 (Shared Repository)    8, " ". 


    . 2.27.   Environment Options   IDE  
  


       Library.  ,     
 . 
       Editor.      Code Editor   
  ,  Object Pascal  DOS. 

    I  I 
           ,   
Use tab character. 

       Display.       
.       ,  , 
    .. 

    I  I 
        ,   
.      ,     . 

       Colors.   ,      
 . 

    I  I 
        ,   
        . 

       Palette.        
   .    ,    
 " ". 
       Browser.       (Object Browser). 
       Code Insight.  ,    
      . 

     2.   Delphi 45 


       

    ,     IDE Delphi,     
  ,    
.      ! Delphi     
  .        
  .      . 
        . 
         . 

      

           GUI (  
)    .   . 
    1.     File     New Application. 
    2.     TLabel         
    Caption  Temperature. 
    3.     TEdit      TLabel.  
  Name   edtTemperature, Width   65   
 Text. 
    4.         TLabel (   
"Temperature").    Caption   Result. 
    5.        "Result"   TPanel.   
  Name   pnlResult. Caption   Null, a 
BevelOuter bvLowered. 
    6.     TPanel  TEdit. 
    7.      ,     
  (Form Designer).   Size. 
    8.     Width  Height   Shrink to smallest. 
   . 
    9.    .    Height    96, 
Width  161, Caption Temp Convert  HBorderStyle bsSingle.    
Borderlcons   biMaximize   biMinimize. 
              
,   . 2.28.        , 
    ,   ( ),  
   .   ,      
 Delphi,          
View as Text.    45 ,  
  .  ,      
 !  !    ,   
        View as Form. 

    . 2.28.     

        .     . 
    1.     File    Save Project As. 
       Delphi      . 
           , 
    . 
    2.        .  F_MAIN  
     Unitl. 
          : F_MAIN.PAS,,   
       Object Pascal,    
F_MAIN. DFM. 
    3.    TEMPCONVERT       Projectl. 

    46  I.   


       

     ,     ,   
   . 
    ,  ,      ""  
   .     , 
  TEdit   OnChange    , 
      .  
    Text.    
""  OnChange       
  . 
      . 
    1.      edtTemperature     Events  
   (Object Inspector). 
    2.          OnChange.  
 ,  Delphi       
edtTemperatureChange. 
    3.      (,     
procedure)  ,    begin,   : 

    var 
       iCelsius : Integer; 

           iCelsius,  
         TEdit. 
        3, "Object Pascal:  ". 
    4.      edtTemperatureChange    : 

    iCelsius := StrToIntDef(edtTemperature.Text, 0); 

         ,    
edtTemperature.  iCelsius   ,  
  ,   Text,  ,  
 StrToIntDef. 

     
     StrToIntDef   ,   
  ,       
.  StrToInt,       
,       
  .     
   5, "  ". 

    5.     ,    4,   : 

    pnlResult.Caption := FloatToStr(iCelsius*1.8 + 32); 

      ,    iCelsius,   
   .    
     ,     
FloatToStr      ,   Caption 
 TPanel. 
        edtTemperatureChange    . 

    procedure  TForml.edtTemperatureChange(Sender:TObject); 
    var 
       iCelsius : Integer; 
    begin 
       iCelsius := StrToIntDef(edtTemperature.Text,0); 
       pnlResult.Caption := FloatToStr(iCelsius*1.8 + 32); 
    end; 


       

            ,   
   ,   Delphi.  
       : 

    unit F_Main; 
    interface 
    uses 


     2.   Delphi	47 

          ,   
     Delphi     
   .   ,    
   .      
 uses   interface  .     
 3, "Object Pascal:  ". 
         ,    . 

    type 
        TForml  =  class(TForm) 
          Labell : TLabell; 
          edtTemperature:   TEdit; 
          Label2 : TLabell; 
          pnlResult : TPanel; 
          procedure edtTemperatureChange(Sender : TObject); 
    private 
       {   . } 
    public 
       {   . } 
    end; 

         TForml,    , 
   . ,     
,    .    OnChange, 
  edtTemperatureChange,    , 
   . 
        . 

    var 
       Forml: TForml; 
    implementation 
    {$R *.DFM} 

            
   Forml,   TForml. 

     
         ,    ,  
   (Access Violation).   Project Options 
 ,       
 .  ,  ""   
   ,    8, " ". 

          (implementation) . 
           , 
   ,    . 
 $R _        
  ,   ,    _. 
     ,   
  TForm,      
. 

       

    ,      ,   
  IDE.   (Project Manager),  
   . 2.29,      
,   .        
  View=>Project Manager. 

    . 2.29.          
    


    48  I.   


        

     uses        , 
  ,    .    
    .       
   . 
          ,      
 . 
             ,   . 
            ,  
 . 
    1.     View    Project Manager.   
 . 
    2.        Add ( ),  
   Add to Project. 
    3.    ,       .  
     . 
        ,        
     Remove ( ). 

          

      (,   )    
      ,     ,  
    . 
      ,       
, , ,       
 .        
 ,      .   , 
    ,       uses. 
            .  
   . 
    1.          ,   
  
    2.     New Unit  New Form,      
 . 

    I  I
               
 .

               
   ,    ()    
.    View Unit  View Form (  
  coo)    ,   
 . 

    I  I
         View Unit  View Form,    
,     . 


      

       Project Option ( )  
    Project Option,   
  ,    .  
      8, " ". 

       

     ,      ,    
,   DPR (Delphi PRoject). ,   
     ,    File   
 j1 Source.         , 
,        . 
       Update (     
  Delphi)        
    . 

     2.   Delphi	49 


       

      (Object Repository)     
,         . 
 . 2.30    New Items,    
 File    New.        
  . 

    . 2.30.    New Items     

           ,  
 IDE,        
.       Application Expert, 
   Projects   New Items.   29, " 
  Open Tools API",     . 

       

    Delphi     ,    
       ,  
 .       New Items,  
 New.  Form        
      Object Pascal-,   
   ,   Forms  Dialogs. 

          

    ,    Forms, Dialogs  Data Modules,  
     . 
       .          
 .  ,    ,   , 
   -. 
       .     ,    
,        . , 
   ,    ,   . 
 ,    ,      
 .            , 
   ,     .  About   
     . 
       .    ,     
   . ,      , 
        ,   
. 

    50  I.   


          

    Delphi        
.          
        . 

      
          
  .    ()  
  (    ?).     
  ()  ,    . 

            
,      ( , 
  ).     ,    
  ,  ,     .   
     ,    
    (,       
  ). 

       

          ,      
    . Delphi   
 ,   MDI Application,      
Projects   New Items. 
     ,  ,     
     ,      . 

     

          IDE Delphi,    . 
 ,     ,    
  .        
,     . 

      

             IDE  
 ,     . 
         ,       
 ""  IDE Delphi   ,   
Project Options   . 
           "" 
   ,    . 
           , 
  ""    .   
        
,   . 

       

      ,  ,    
      .   
    "look"    
"look-and-feel". 
         ,  
   . 
         ,    
   . 
     "feel",   ,   ""  
,   ,    Object 
Pascal,  ,  ,     
.      . 

     2.   Delphi 51 


        IDE 

          , ,     
,         
   . ,     
  ,        
  . 

        

           . 
           ,    
   ,   ,    
     . 
       ,      
   ,     ,  
  . 

    52  I.   
