1 { KOL MCK } // Do not remove this line!
8 uses Windows
, Messages
, ShellAPI
, KOL
, KOLHintRA
{$IFNDEF KOL_MCK}, mirror
, Classes
, Controls
, mckControls
, mckObjs
, Graphics
,
9 mckHintRA
, mckCtrls
{$ENDIF};
12 Windows
, Messages
, SysUtils
, Classes
, Graphics
, Controls
, Forms
, Dialogs
;
17 {$I MCKfakeClasses.inc}
18 {$IFDEF KOLCLASSES} TForm1
= class; PForm1
= TForm1
; {$ELSE OBJECTS} PForm1
= ^TForm1
; {$ENDIF CLASSES/OBJECTS}
19 {$IFDEF KOLCLASSES}{$I TForm1.inc}{$ELSE} TForm1
= object(TObj
) {$ENDIF}
24 KOLProject1
: TKOLProject
;
35 EditBox1
: TKOLEditBox
;
47 procedure Button6Click(Sender
: PObj
);
48 procedure KOLForm1FormCreate(Sender
: PObj
);
49 procedure HintRA5BeforeShowHint(Sender
: PObj
);
51 { Private declarations }
53 { Public declarations }
57 Form1
{$IFDEF KOL_MCK} : PForm1
{$ELSE} : TForm1
{$ENDIF} ;
60 procedure NewForm1( var Result
: PForm1
; AParent
: PControl
);
65 {$IFNDEF KOL_MCK} {$R *.DFM} {$ENDIF}
71 procedure TForm1
.Button6Click(Sender
: PObj
);
73 HintRA6
.SetDelay(HintRA6
.GetDelay
div 2);
76 procedure TForm1
.KOLForm1FormCreate(Sender
: PObj
);
78 HintRA7
.KOLControl
:=Form
;//óñòàíîâêà Hint'a ôîðìû
82 procedure TForm1
.HintRA5BeforeShowHint(Sender
: PObj
);
85 HintRA5
.HintText
:='Âû çàäàëè:'+#13#10+EditBox1
.Text;