-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdlgBMACMsgBox.pas
More file actions
46 lines (37 loc) · 915 Bytes
/
dlgBMACMsgBox.pas
File metadata and controls
46 lines (37 loc) · 915 Bytes
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
unit dlgBMACMsgBox;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls;
type
TBMACMsgBox = class(TForm)
Panel1: TPanel;
btnCancel: TButton;
btnOK: TButton;
Label1: TLabel;
Label2: TLabel;
Image1: TImage;
Shape1: TShape;
procedure btnCancelClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
FFolderPath: String;
public
{ Public declarations }
property FolderPath: string read FFolderPath write FFolderPath;
end;
var
BMACMsgBox: TBMACMsgBox;
implementation
{$R *.dfm}
procedure TBMACMsgBox.btnCancelClick(Sender: TObject);
begin
ModalResult := btnCancel.ModalResult;
Close;
end;
procedure TBMACMsgBox.FormCreate(Sender: TObject);
begin
FFolderPath := '';
end;
end.