-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathunitsaveasform.pas
More file actions
57 lines (39 loc) · 867 Bytes
/
unitsaveasform.pas
File metadata and controls
57 lines (39 loc) · 867 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
47
48
49
50
51
52
53
54
55
56
unit unitsaveasform;
{$mode ObjFPC}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Buttons;
type
{ TsaveAsForm }
TsaveAsForm = class(TForm)
OkButton: TButton;
Label2: TLabel;
cancelButton: TButton;
projectPathEdit: TEdit;
Label1: TLabel;
projectNameedit: TEdit;
selectPathButton: TBitBtn;
procedure FormCreate(Sender: TObject);
procedure setPath(pathname:string);
procedure setName(nameProject:string);
private
public
end;
var
saveAsForm: TsaveAsForm;
implementation
{$R *.lfm}
{ TsaveAsForm }
uses main;
procedure TsaveAsForm.FormCreate(Sender: TObject);
begin
end;
procedure TsaveAsForm.setPath(pathname:string);
begin
projectPathEdit.text:=pathname;
end;
procedure TsaveAsForm.setName(nameProject:string);
begin
projectNameEdit.text:=name;
end;
end.