1 { KOL MCK } // Do not remove this line!
8 uses Windows
, Messages
, ShellAPI
, KOL
{$IFNDEF KOL_MCK}, mirror
, Classes
,
9 Controls
, mckCtrls
{$ENDIF};
12 Windows
, Messages
, SysUtils
, Classes
, Graphics
, Controls
, Forms
, Dialogs
,
18 {$I MCKfakeClasses.inc}
25 KOLProject1
: TKOLProject
;
28 KOLApplet1
: TKOLApplet
;
30 procedure Button1Click(Sender
: PObj
);
32 { Private declarations }
34 { Public declarations }
38 Form1
{$IFDEF KOL_MCK} : PForm1
{$ELSE} : TForm1
{$ENDIF} ;
41 procedure NewForm1( var Result
: PForm1
; AParent
: PControl
);
48 {$IFNDEF KOL_MCK} {$R *.DFM} {$ENDIF}
54 procedure TForm1
.Button1Click(Sender
: PObj
);
57 Label1
.Caption
:= 'ModalResult = ' + Int2Str( Form2
.Form
.ModalResult
);