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}
19 PKOLForm1
= ^TKOLForm1
;
20 TKOLForm1
= object(TObj
)
23 TKOLForm1
= class(TForm
)
25 KOLProject1
: TKOLProject
;
28 KOLApplet1
: TKOLApplet
;
29 procedure Button1Click(Sender
: PObj
);
31 { Private declarations }
33 { Public declarations }
37 KOLForm1
{$IFDEF KOL_MCK} : PKOLForm1
{$ELSE} : TKOLForm1
{$ENDIF} ;
39 procedure CallKOLFormModal
; export;
42 procedure NewKOLForm1( var Result
: PKOLForm1
; AParent
: PControl
);
47 {$IFNDEF KOL_MCK} {$R *.DFM} {$ENDIF}
53 procedure CallKOLFormModal
;
55 NewKOLForm1( KOLForm1
, Applet
);
56 KOLForm1
.Form
.ShowModal
;
61 procedure TKOLForm1
.Button1Click(Sender
: PObj
);
63 Form
.ModalResult
:= 1;