-
Notifications
You must be signed in to change notification settings - Fork 1
/
BusyDialogFrm.pas
52 lines (41 loc) · 1.44 KB
/
BusyDialogFrm.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{ ------------------------------------------------------------------- }
{ Unit: BusyDialogFrm.pas }
{ Project: WERF Framework - SWMM Converter }
{ Version: 2.0 }
{ Date: 2/28/2014 }
{ Author: Gesoyntec (D. Pankani) }
{ }
{ Delphi Pascal unit that for the busy dialog }
{ ------------------------------------------------------------------- }
unit BusyDialogFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.GIFImg, Vcl.ExtCtrls,
SWMMIO, Vcl.StdCtrls;
type
TBusyFrm = class(TForm)
Label1: TLabel;
Image1: TImage;
/// <summary>
/// Show handler for busy dialog. Used to simply change dialog color
/// </summary>
/// <param name="Sender">
/// Owner (this dialog)
/// </param>
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
BusyFrm: TBusyFrm;
implementation
{$R *.dfm}
procedure TBusyFrm.FormShow(Sender: TObject);
begin
BusyFrm.color := clwhite;
end;
end.