-
Notifications
You must be signed in to change notification settings - Fork 1
/
MeConnectForm.fmx
238 lines (238 loc) · 5.36 KB
/
MeConnectForm.fmx
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
object MeConnectForm: TMeConnectForm
Left = 484
Top = 224
BorderIcons = [biSystemMenu]
Caption = 'Connect'
ClientHeight = 393
ClientWidth = 408
Position = poScreenCenter
OnCreate = FormCreate
OnShow = FormShow
object Image1: TImage
Position.X = 0.000000000000000000
Position.Y = 0.000000000000000000
Width = 408
Height = 50
Align = alTop
end
object gbAdvanced: TGroupBox
Position.X = 8.000000000000000000
Position.Y = 237.000000000000000000
Width = 393
Height = 116
Text = 'Advanced Options'
TabOrder = 5
Visible = False
object lbCharSet: TLabel
Position.X = 76.000000000000000000
Position.Y = 61.000000000000000000
Width = 36
Height = 13
Text = 'Charset'
WordWrap = False
AutoSize = True
end
object edCharSet: TEdit
Position.X = 120.000000000000000000
Position.Y = 56.000000000000000000
Width = 129
Height = 21
TabOrder = 0
TextHint = 'cp1251'
end
end
object btConnect: TButton
Position.X = 165.000000000000000000
Position.Y = 360.000000000000000000
Width = 75
Height = 25
Anchors = [akLeft, akBottom]
Text = 'Connect'
Default = True
TabOrder = 2
OnClick = btConnectClick
end
object btCancel: TButton
Position.X = 325.000000000000000000
Position.Y = 360.000000000000000000
Width = 75
Height = 25
Anchors = [akLeft, akBottom]
Cancel = True
Text = 'Cancel'
ModalResult = 2
TabOrder = 4
end
object btDetails: TButton
Position.X = 9.000000000000000000
Position.Y = 361.000000000000000000
Width = 75
Height = 25
Anchors = [akLeft, akBottom]
Text = 'Details >>'
TabOrder = 1
OnClick = btDetailsClick
end
object btClear: TButton
Position.X = 245.000000000000000000
Position.Y = 360.000000000000000000
Width = 75
Height = 25
Anchors = [akLeft, akBottom]
Text = 'Clear'
TabOrder = 3
OnClick = btClearClick
end
object gbConnect: TGroupBox
Position.X = 8.000000000000000000
Position.Y = 56.000000000000000000
Width = 393
Height = 161
Text = 'Connect to MySQL Server'
TabOrder = 0
object lbUsername: TLabel
Position.X = 8.000000000000000000
Position.Y = 65.000000000000000000
Width = 60
Height = 13
Text = 'Username'
Layout = tlCenter
WordWrap = False
AutoSize = False
end
object lbPassword: TLabel
Position.X = 8.000000000000000000
Position.Y = 96.000000000000000000
Width = 60
Height = 13
Text = 'Password'
Layout = tlCenter
WordWrap = False
AutoSize = False
end
object lbServer: TLabel
Position.X = 18.000000000000000000
Position.Y = 30.000000000000000000
Width = 50
Height = 13
Text = 'Server'
Layout = tlCenter
WordWrap = False
AutoSize = False
end
object lbPort: TLabel
Position.X = 209.000000000000000000
Position.Y = 30.000000000000000000
Width = 49
Height = 13
Text = 'Port'
Layout = tlCenter
WordWrap = False
AutoSize = False
end
object lbmDatabase: TLabel
Position.X = 187.000000000000000000
Position.Y = 96.000000000000000000
Width = 60
Height = 13
Text = 'world'
Layout = tlCenter
WordWrap = False
AutoSize = False
end
object lbcDatabase: TLabel
Position.X = 187.000000000000000000
Position.Y = 66.000000000000000000
Width = 60
Height = 13
Text = 'characters'
Layout = tlCenter
WordWrap = False
AutoSize = False
end
object lbrDatabase: TLabel
Position.X = 187.000000000000000000
Position.Y = 127.000000000000000000
Width = 60
Height = 13
Text = 'auth'
Layout = tlCenter
WordWrap = False
AutoSize = False
end
object edUsername: TEdit
Position.X = 74.000000000000000000
Position.Y = 62.000000000000000000
Width = 100
Height = 21
TabOrder = 2
OnExit = edExit
end
object edPassword: TEdit
Position.X = 74.000000000000000000
Position.Y = 93.000000000000000000
Width = 100
Height = 21
Password = True
TabOrder = 3
OnExit = edExit
end
object edServer: TComboBox
Position.X = 74.000000000000000000
Position.Y = 29.000000000000000000
Width = 129
Height = 21
DropDownCount = 10
TabOrder = 0
OnChange = edServerChange
OnDropDown = edServerDropDown
OnExit = edExit
end
object edPort: TEdit
Position.X = 264.000000000000000000
Position.Y = 27.000000000000000000
Width = 41
Height = 21
TabOrder = 1
OnExit = edExit
end
object edmDatabase: TComboBox
Position.X = 253.000000000000000000
Position.Y = 93.000000000000000000
Width = 100
Height = 21
DropDownCount = 10
TabOrder = 6
OnDropDown = GetDataBases
OnExit = edExit
end
object cbSavePassword: TCheckBox
Position.X = 74.000000000000000000
Position.Y = 120.000000000000000000
Width = 100
Height = 17
Text = 'Store Password'
TabOrder = 4
end
object edcDatabase: TComboBox
Position.X = 253.000000000000000000
Position.Y = 62.000000000000000000
Width = 100
Height = 21
DropDownCount = 10
TabOrder = 5
OnDropDown = GetDataBases
OnExit = edExit
end
object edrDatabase: TComboBox
Position.X = 253.000000000000000000
Position.Y = 123.000000000000000000
Width = 100
Height = 21
DropDownCount = 10
TabOrder = 7
OnDropDown = GetDataBases
OnExit = edExit
end
end
end