home *** CD-ROM | disk | FTP | other *** search
- unit BPShowForm;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- ExtCtrls;
-
- type
- TForm2 = class(TForm)
- Image1: TImage;
- procedure FormKeyDown(Sender: TObject; var Key: Word;
- Shift: TShiftState);
- private
- public
- { Public declarations }
- end;
-
- var
- Form2: TForm2;
-
- implementation
-
- uses BPListForm;
-
- {$R *.DFM}
-
- procedure TForm2.FormKeyDown(Sender: TObject; var Key: Word;
- Shift: TShiftState);
- begin
- if Key = VK_Escape then
- begin
- ShowCursor(True); //Win32-API-Funktion, die den Mouse-Cursor wieder erscheinen lΣ▀t
- Form1.Timer1.Enabled := False;
- Close;
- end;
- end;
-
- end.
-