1     ______________287

KeyDown     ,     
Close().      onMouseDown. 
     ,  Image  .,    ,
|         onMouseDown     ,   
 ,      KeyPreview  true,   -
       .

        
  .   ,     - -
      , ,  5 .

4.     Timer   System.  
,      (. -
 3.3.7).      Interval  -
.    5000.     onTimer, -
     .   -
        CloseQ.

        -
 .    ?      -
  . , -    ,   
      . 
          .   
 ,         
   -  .     -
.

5.    OnClose  :

Action = caFree;

    ,     -
       .

-   .  ,    -
 Visible  false.  ,     
  ShowModal.     Visible  
  false.

       ShowModal.   
  ,     Umain   UFLog.

6.  ,       UMain,   -
 -  UFLog.    UMain  -
 #include "UFLog.h"     UMain  File
I      Include Unit Hdr        UFLog.

  ,     
.     ,      
L  (Uniti  Unit2),          (
  ),        
   .

     UMain    OnShow.

7.    UMain    OnShow,  
 :

/
FLog->ShowModal() ;

 OnShow   ,    . -
         .  -
    FLog  ,      -