Mirror Classes Kit  Key Objects Library, v2.89 [20  2010.]
Copyright (C) 1999-2007 by Vladimir Kladov
-------------------------------------------------
 Delphi 2, 3, 4, 5, 6, 7
KOL     Delphi 8, BDS 2005, 2006, 2010, 2012(XE, XE2), Turbo-Delphi   Free Pascal 1.0.5/2.x (MCK-,   Delphi,     Free Pascal)
KOL    Kylix/FPC    Linux   Qt 

,       !
      " ",     -      MCK.

	     

	I.		
	II.		
	III.	   
	IV.		 
	V.		 
	VI.		 
	VII.	  
	VIII.	   
	IX.		  TComponent  VCL
	X.		  
	XI.		MAINTAINANCE (  )
	XII.	
	XIII.    
    XIV.     (Collapse)

	I. 

MCK (Mirror Classes Kit) -           Delphi    KOL. (  KOL -    ,   http://www.kolmck.net).    KOL,    XCL         , , ,             . , ,    ,  -    KOL . ,      ( XCL Wizard,     -      ),     .          ,   ...    ,     .

  " "   .       KOL   Delphi,      Delphi      .  " "   ,      (   )    KOL      . , TControl    ,  ,  ,      .

  ""    ,      (design-time)       ,     ,        ,      .    ... (  )...  ,        VCL,     KOL.            IDE.  ,     KOL            -     .   ,         ,     ...   VCL.

      ,    . ,    !            VCL-,         ,   .

,      -   ,      ,      (, ,  ,        -  ).
     KOL  MCK (   VCL) :

-      ,      .      () TKOLForm,   .     . ,   ,    TKOLForm!

-      -MCK    .     ,    MCK.

-   MCK-          .        .

-     VCL.Self  KOL.@Self    Form,             @Self  .    Form "  " Self (  -          ).    Form      (Form    ,      ,    PControl -      KOL).
   ,      
	Caption := '';
    .    :
	Form.Caption := '';

-   VCL- ,      ,  ""    KOL,       .   ,     ""       ,     ""  -    , "" .
  .    ,       Button1,      ,   .

-       (design-time)  ,   ( )           Paint     . ( ,             (design-time-only)    TKOLProject,      ,    ).

-      , , ,     KOL  VCL     : 1.       ,   . 2.    ,     <KOL.>    (  KOL      uses ,   KOL        VCL       . ,     KOL  ).

	II. 
___________________________________
DELPHI7 - 

1.      ,    KOL.
2.  MirrorKOLPackageD7.dpk  Delphi IDE   'Install'.

DELPHI7 -  (UPGRADE)

1.    ,     IDE (File|Close All).
2.      ,    KOL.
3.  MirrorKOLPackageD7.dpk  Delphi IDE        (   )  'Build'    IDE: Project | Build All  Project | Build MirrorKOLPackageD7 (   ,  'Install'   ).       Compile.

___________________________________
DELPHI6 - 

1.      ,    KOL.
2.  MirrorKOLPackageD6.dpk  Delphi IDE   'Install'.

DELPHI6 -  (UPGRADE)

1.    ,     IDE (File|Close All).
2.      ,    KOL.
3.  MirrorKOLPackageD6.dpk  Delphi IDE        (   )  'Build'    IDE: Project | Build All  Project | Build MirrorKOLPackageD6 (   ,  'Install'   ).       Compile.

___________________________________
DELPHI5 - 

1.      ,    KOL.
2.  MirrorKOLPackage.dpk  Delphi IDE   'Install'.

DELPHI5 -  (UPGRADE)

1.    ,     IDE (File|Close All).
2.      ,    KOL.
3.  MirrorKOLPackage.dpk  Delphi IDE        (   )  'Build' (    ,      , ,   File | Open,    Reopen).       Compile.

___________________________________
DELPHI4 - 

1.      ,    KOL.
2.  MirrorKOLPackageD4.dpk  Delphi IDE   'Install'.

DELPHI4 -  (UPGRADE)
1.    ,     IDE (File|Close All).
2.      ,    KOL.
3.  MirrorKOLPackaged4.dpk  Delphi IDE        (   )  'Build' (    ,      , ,   File | Open,    Reopen).       Compile.

___________________________________
DELPHI3 - 

1.      ,    KOL.
2.  MirrorKOLPackageD3.dpk  Delphi IDE   'Install'.

DELPHI3 -  (UPGRADE)
1.    ,     IDE (File|Close All).
2.      ,    KOL.
3.  MirrorKOLPackageD3.dpk  Delphi IDE        (   )  'Build All' (    ,      , ,   File | Open,    Reopen).       Compile.

___________________________________
DELPHI2 - 

1.      ,    KOL.
2. Component|Install...|Add|Browse|mirror.pas|OK
3. Component|Install...|Add|Browse|mckObjs.pas|OK
4. Component|Install...|Add|Browse|mckCtrls.pas|OK

DELPHI2 -  (UPGRADE)
1.    ,     IDE (File|Close All).
2.      ,    KOL.
3. Component|Install...|OK (   mirror, mckObjs, mckCtrls      )


	III.    

1.  IDE Delphi: File|NewApplication.

2.       .    File|Save All,         ,    ( ).         !
   !   dpr-   .       Project1 ().    (Unit1.pas) ,      . 

3.  TKOLProject  .

4.   ProjectDest (   ,      ""  , ..  dpr-,      -    ).

5.     TKOLForm.

6.  Delphi5 (),           :
   Project | Options | Directories/Conditionals | Search path
     : $(Delphi)\Source\ToolsApi
   (      Library path  Tools | Environment options | Library  ,      ).

7.  TKOLForm   (5.)    TKOLProject.projectDest (4.),    ,     (  .8).
   :
       (TKOLForm), ,  .  exe-   ,     ,    ,   .

8.    (   ,  - ,     KOLProject1.ProjectDest).  Project1.*     .

9.       KOL/MCK.         ( KOL),  ,  , ... , . , ! .. Enjoy!

	IV.  
1. File|New form
2.      ,     .
3.     TKOLForm. (  ,       TKOLApplet,   - ).
4. , .   TKOLProject  AutoBuild = True ( ),   BuildDelay     KOL-.  ,       Build  TKOLProject (  ).

	V.  
1. Project|Remove from prject... -  
2.     TKOLProject,     Build.

	VI.  
   ,     FormName  TKOLForm,    . (     ).

	VII.   
  
    , , , ,   ..      VCL,   <KOL.>   .
      VCL,   SysUtils, Classes, Forms, Dialogs  .. ,    ,     KOL,     Windows.pas, Messages.pas, ShellAPI.pas.    (  -).
      ,      .
         ( , , , ,   ..  ,    inc-        ),           uses.
       ,       KOL,        VCL.       .
   :
       Self  VCL   @Self  KOL,   -,    Form.  VCL- () Form -    TKOLForm,  Self.  KOL- -       ,       .  ,               :
	Form.Caption := 'Hello!';
  (      Caption := 'Hello!';     KOL-   ).
     Form        .          ( ). ,  : 
	Button1.Caption := 'OK';
	Button1Click( Form );
    .
             (run-time).   ,      ,     (Project|Options|Forms,       ).    NewForm1 ( <Form1>   ), :
  TempForm1 := NewForm1( Applet );
     ,     ,      ,      ,   .   Form  .

	VIII.    

      ,     uses,       :

======   ,   KOL: ========
{ KOL MCK } // Do not remove this line!
{$DEFINE KOL_MCK}
unit Unit1;

interface

uses Windows, Messages, ShellAPI, KOL {$IFNDEF KOL_MCK}, mirror, Classes, Controls, mckControls, mckObjs, Graphics,
  mckCtrls {$ENDIF (place your units here->)}, <--     -->
{$ELSE}
{$I uses.inc} mirror,
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  mirror;
{$ENDIF}
======   ======

	IX.   TComponent  VCL

     MCK v0.71,    ,   VCL,    KOL+MCK.     ,  ,  ,     ,      .
    ,   VCL  ,   KOL,  ,              .
     ,    VCL   MCK  .  TKOLProject  TKOLForm         ,    VCL-      MCK    VCL-.
   VCL     MCK, , :
-     ,          .  ()     TKOLProject      -     .
-  VCL  ""  , Delphi        uses,        {$IFNDEF KOL_MCK}...{$ENDIF},        .   ,      :
   ..., SomeUnit {$ENDIF};      ->    ... {$ENDIF} , SomeUnit;

	X.   

1.    <YourProject>.dpr,  :
   - <YourProject>_0.inc -     ,
				  ,    dpr- 
				begin  end.   :

				Applet := NewApplet( ... ); //   TKOLApplet
				[ Applet.Visible := False; ] // 
				[ Applet.OnMessage := ...; ] // 

				{$I <YourProject>_1.inc}

				{$I <YourProject>_2.inc} // ,  

				{$I <YourProject>_3.inc}

				Run( ... );

				{$I <YourProject>_4.inc}

   - <YourProject>_1.inc -  ,   .   
				,    ,    
				()   Applet. ,
				    ,  
				     .

   - <YourProject>_2.inc -  ,   
				  .   
				.

   - <YourProject>_3.inc  <YourProject>_4.inc -  ,   <YourProject>_1.inc,  ,   .      ().

     ...     :

2. For every unit with form, additional file <UnitName>_1.inc is generated automatically. You should never change it manually.

3. File uses.inc also is generated automatically and You should not alter it manually. It contains word 'uses' only, included to final code via directive {$I uses.inc}. 

	XI. MAINTAINANCE
  For backup / copy purposes, following files are necessary to be stored to restore your project later or in another directory (on another PC):
  <YourProject>.dpr
  <YourProject>_1.dpr - if You altered it
  <YourProject>_3.dpr - if You altered it
  <YourProject>_4.dpr - 	-||-
  <YourProject>.res   - if You use app icon and altered it
  <YourUnit>.pas      - for every unit
  <YourUnit>.dfm      - for every unit with form
  <YourProject>.cfg
  <YourProject>.dof
  other files, created specially for a project (*.rc;*.res;*.bmp;*.ico; etc.)

Files could be recreated, but desired for backup / copy:
  <YourProject>_0.inc
  <YourProject>_2.inc
  <YourUnit>_1.inc    - for every unit
  <YourProject>.dsk
  <YourProject>.drc

And following files You are free to remove any time You wish:
  *.dcu; *.~*; *.$$$; *.exe

######################################
#                                    #
#  XII.                # 
#                                    #
######################################
1.    TKOLProject (  KOL-)    VCL- -       .
2.    KOL/MCK    ,      {$IF[N]DEF}...{$ENDIF}.
3.       INC-.
4.     (- ConsoleOut  TKOLProject),   .    ConsoleOut  False.
5.         ,    VCL -   -    .
6.        Build (  Compile!)   ,   MCK.
6.      - ,  -          . 

	XIII.  

1.       MCK,      . ,  ,      :  ,     Delphi.
2.      MCK  Delphi,   ,    : Enterprise  Personal.   ?  , .
3.         ,     ToolsAPI (DsgnIntf ),      (     ),   -   ,     "   ".     ,        ,        ,      .. 1-7.
4.  -  ? , ,   .  :)
5. , ,   .     .  Delphi  (   )      ,   .  ,  .
6.   :   system.dcu       ,     KOL  MCK.

        XIV. 

Collapse -  ,   KOL (   MCK)  ,            -  -  . MCK   -   -   .       -      ,     Delphi     - -.       ,    -         ,         (     -).   .  Collapse  .


-----------------------------------------------------------------
http://kolmck.net
vk@kolmck.net
   
------------------------------------------------------------------
(C) 1999-2010, by Vladimir Kladov. All rights reserved.