1 { KOL MCK } // Do not remove this line!
8 uses Windows
, Messages
, ShellAPI
, KOL
{$IFNDEF KOL_MCK}, mirror
, Classes
,
9 mckCtrls
, Controls
{$ENDIF};
12 Windows
, Messages
, SysUtils
, Classes
, Graphics
, Controls
, Forms
, Dialogs
,
18 {$I MCKfakeClasses.inc}
25 KOLProject1
: TKOLProject
;
31 procedure Button1Click(Sender
: PObj
);
32 procedure Button2Click(Sender
: PObj
);
34 { Private declarations }
36 { Public declarations }
41 Form1
{$IFDEF KOL_MCK} : PForm1
{$ELSE} : TForm1
{$ENDIF} ;
44 procedure NewForm1( var Result
: PForm1
; AParent
: PControl
);
51 {$IFNDEF KOL_MCK} {$R *.DFM} {$ENDIF}
57 procedure TForm1
.Button1Click(Sender
: PObj
);
59 NewForm2( PForm2( Frame
), Panel2
);
62 procedure TForm1
.Button2Click(Sender
: PObj
);
65 PForm2( Frame
).Form
.Free
;