home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 October
/
Chip_2002-10_cd1.bin
/
zkuste
/
delphi
/
kolekce
/
d56
/
FLEXCEL.ZIP
/
Demo
/
UWaitCursor.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
2002-04-28
|
529b
|
36 lines
unit UWaitCursor;
interface
uses Controls, Forms;
type
IWaitCursor = interface
end;
TWaitCursor = class(TInterfacedObject, IWaitCursor)
private
OldCursor: TCursor;
public
constructor Create;
destructor Destroy;override;
end;
implementation
{ TWaitCursor }
constructor TWaitCursor.Create;
begin
inherited;
OldCursor:= Screen.Cursor;
Screen.Cursor:= crHourGlass;
end;
destructor TWaitCursor.Destroy;
begin
Screen.Cursor:= OldCursor;
inherited;
end;
end.