* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Program: WAIT.PAS
Object: Delphi component which enable a component or application to
wait for some event, optionnaly displaying a progress bar.
Author: François PIETTE
EMail: francois.piette@pophost.eunet.be francois.piette@ping.be
francois.piette@rtfm.be http://www.rtfm.be/fpiette
Creation: April, 1996
Version: 2.12
Support: Use the mailing list twsocket@rtfm.be See website for details.
Legal issues: Copyright (C) 1996, 1997, 1998 by François PIETTE
Rue de Grady 24, 4053 Embourg, Belgium. Fax: +32-4-365.74.56
This software is provided 'as-is', without any express or
implied warranty. In no event will the author be held liable
for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it
and redistribute it freely, subject to the following
restrictions:
1. The origin of this software must not be misrepresented,
you must not claim that you wrote the original software.
If you use this software in a product, an acknowledgment
in the product documentation would be appreciated but is
not required.
2. Altered source versions must be plainly marked as such, and
must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
Updates:
Jul 22, 1997 Adapted to Delphi 3
Oct 22, 1997 V2.00 Added WaitVersion constant and Running property
Nov 11, 1997 V2.10 Made a TCustomWait base component with virtual functions.
This will easy the making of descendend components.
Renamed OnWaitEvent -> OnWait
OnTimeOutEvent -> OnTimeout
Added events:
OnWaitStart When the component starts his job.
OnWaiting When the component is waiting.
OnWaitStop When the component stops his job.
Mar 27, 1998 V2.11 Adapted for C++Builder 3
Apr 20, 1998 V2.12 Removed the second 'r' from 'courrier'
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * TCustomWait -
TWait -
Register - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
TWaitEvent
WaitVersion
procedure Register;
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
TWaitEvent = procedure(Sender: TObject; Count : integer) of object
WaitVersion = 212
Enable partial boolean evaluation } {$T-} { Untyped pointers } {$IFNDEF VER80} { Not for Delphi 1 } {$J+} { Allow typed constant to be modified } {$ENDIF