   ______________293

   Filter       *.txt  -
     *.*.

5.      MainMenu.     
(   Name  MFile)   ...
(Name = MOpen)   ... (Name = MSave).

6.        . 
 MOpen    :

if (OpenDialogl->Execute ())
{

Memol->Clear() ;

Memol->Lines->LoadFromFile(OpenDialogl->FileName) ;

)

       MSave    :

if (SaveDialogl->Execute())
-         Memol->Lines->SaveToFile(SaveDialogl->FileName) ;

j 7.  ,     UDoc.
f       ( ) .  
    .

        -
   .

' 8.   FormStyle      fsMDIChild.

9.       (File | New Form).   FMDI.
     UMDI (File Save As...).

10.   FormStyle    fsMDIForm.  
WindowState  wsMaximized,     
       .  (
  File | Include Unit Hdr)   #include, -
    UMDI.h  UMDI.     -
     .

11.   Project Options       Forms
   FDoc     
  .  ,      -
   ,     UMDI  -
,      .

12.    UMDI   MainMenu.    -
   ( Name = MWind)    (Name =1 MNew),
 (Name = MCascade),    (Name = MHor), -
   (Name = MVert),   (Name = MIcons).
  WindowMenu   MWind.   -
    ,    .

         -
   ,       Groupln-
dex,   ,      .  
 ,          

1       . , 
   .   ,    -
  Grouplndex       0.
  ,       
     ,     