-
Notifications
You must be signed in to change notification settings - Fork 0
/
uGestionar.pas
86 lines (76 loc) · 2.65 KB
/
uGestionar.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
unit uGestionar;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Rtti,
System.Bindings.Outputs, Data.Bind.EngExt, Fmx.Bind.DBEngExt, FMX.Grid.Style,
Data.Bind.Controls, FMX.Layouts, Fmx.Bind.Navigator, FMX.ScrollBox, FMX.Grid,
FMX.Controls.Presentation, FMX.StdCtrls, Data.Bind.Components, Data.Bind.Grid,
Data.Bind.DBScope, Fmx.Bind.Grid, Fmx.Bind.Editors, FMX.Edit, FMX.ComboEdit,
FMX.ListBox;
type
TfGestionar = class(TForm)
BindSourceDB1: TBindSourceDB;
BindingsList1: TBindingsList;
Panel1: TPanel;
Panel3: TPanel;
GridBindSourceDB1: TGrid;
LinkGridToDataSourceBindSourceDB1: TLinkGridToDataSource;
Panel2: TPanel;
NavigatorBindSourceDB1: TBindNavigator;
Panel4: TPanel;
Editusu_cnombre: TEdit;
Labelusu_cnombre: TLabel;
LinkControlToFieldusu_cnombre: TLinkControlToField;
Editusu_nid: TEdit;
Labelusu_nid: TLabel;
LinkControlToFieldusu_nid: TLinkControlToField;
Editusu_cnum_celular: TEdit;
Labelusu_cnum_celular: TLabel;
LinkControlToFieldusu_cnum_celular: TLinkControlToField;
ComboBoxusu_ccargo: TComboBox;
Labelusu_ccargo: TLabel;
Editusu_cnum_tele_fijo: TEdit;
Labelusu_cnum_tele_fijo: TLabel;
LinkControlToFieldusu_cnum_tele_fijo: TLinkControlToField;
Editusu_cnum_extension: TEdit;
Labelusu_cnum_extension: TLabel;
LinkControlToFieldusu_cnum_extension: TLinkControlToField;
ComboBoxusu_cestado: TComboBox;
Labelusu_cestado: TLabel;
ComboBoxusu_nperfil: TComboBox;
Labelusu_nperfil: TLabel;
BindSourceDB2: TBindSourceDB;
BindSourceDB3: TBindSourceDB;
BindSourceDB4: TBindSourceDB;
LinkFillControlToField3: TLinkFillControlToField;
LinkFillControlToField1: TLinkFillControlToField;
LinkFillControlToField2: TLinkFillControlToField;
Editusu_cusuario: TEdit;
Labelusu_cusuario: TLabel;
LinkControlToFieldusu_cusuario: TLinkControlToField;
Editusu_cpassword: TEdit;
Labelusu_cpassword: TLabel;
LinkControlToFieldusu_cpassword: TLinkControlToField;
procedure FormCreate(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private declarations }
public
{ Public declarations }
end;
var
fGestionar: TfGestionar;
implementation
{$R *.fmx}
uses dmData;
procedure TfGestionar.FormClose(Sender: TObject; var Action: TCloseAction);
begin
BindSourceDB1.DataSource.DataSet.Close;
end;
procedure TfGestionar.FormCreate(Sender: TObject);
begin
BindSourceDB1.DataSource.DataSet.Close;
BindSourceDB1.DataSource.DataSet.Open;
end;
end.