-
Notifications
You must be signed in to change notification settings - Fork 2
/
Options.pas
51 lines (41 loc) · 1.01 KB
/
Options.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
unit Options;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Objects, FMX.Controls.Presentation, FMX.Edit;
type
TForm2 = class(TForm)
ToolBar1: TToolBar;
Rectangle1: TRectangle;
Label1: TLabel;
Button1: TButton;
Label2: TLabel;
Edit1: TEdit;
Label3: TLabel;
Edit2: TEdit;
Rectangle2: TRectangle;
procedure FormCreate(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form2: TForm2;
implementation
{$R *.fmx}
uses Unit1;
procedure TForm2.FormCreate(Sender: TObject);
begin
Edit2.Text:= MainForm.MemberKey;
Edit1.Text:=MainForm.MemberNumber;
end;
procedure TForm2.Button1Click(Sender: TObject);
begin
MainForm.MemberKey:=Edit2.Text;
MainForm.MemberNumber:=Edit1.Text;
Close;
end;
end.