-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dlgPreferences.dfm
284 lines (284 loc) · 6.96 KB
/
dlgPreferences.dfm
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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
object Preferences: TPreferences
Left = 0
Top = 0
BorderStyle = bsDialog
Caption = 'Preferences'
ClientHeight = 736
ClientWidth = 657
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Segoe UI'
Font.Style = []
Position = poMainFormCenter
TextHeight = 21
object LogoImage: TImage
Left = 154
Top = 208
Width = 306
Height = 306
Center = True
Proportional = True
Stretch = True
end
object Label1: TLabel
Left = 264
Top = 531
Width = 99
Height = 21
Caption = 'Business Logo'
end
object Label7: TLabel
Left = 154
Top = 608
Width = 306
Height = 21
Alignment = taCenter
AutoSize = False
Caption = '(PNG, BMP, JPG - min 400x400 pixels,)'
end
object Panel1: TPanel
Left = 0
Top = 681
Width = 657
Height = 55
Align = alBottom
BevelOuter = bvNone
TabOrder = 0
ExplicitTop = 680
ExplicitWidth = 610
DesignSize = (
657
55)
object btnClose: TButton
Left = 562
Top = 13
Width = 75
Height = 29
Anchors = [akTop, akRight]
Caption = 'Close'
TabOrder = 0
OnClick = btnCloseClick
ExplicitLeft = 515
end
end
object DBBusinessName: TDBLabeledEdit
Left = 144
Top = 16
Width = 305
Height = 29
DataField = 'BusinessName'
DataSource = dsSCMCoach
TabOrder = 1
EditLabel.Width = 106
EditLabel.Height = 29
EditLabel.Caption = 'Business Name'
EditLabel.Layout = tlCenter
LabelPosition = lpLeft
LabelSpacing = 4
end
object DBNickName: TDBLabeledEdit
Left = 144
Top = 51
Width = 305
Height = 29
DataField = 'NickName'
DataSource = dsSCMCoach
TabOrder = 2
EditLabel.Width = 77
EditLabel.Height = 29
EditLabel.Caption = 'Nick Name'
EditLabel.Layout = tlCenter
LabelPosition = lpLeft
LabelSpacing = 4
end
object DBEmail: TDBLabeledEdit
Left = 144
Top = 86
Width = 489
Height = 29
DataField = 'Email'
DataSource = dsSCMCoach
TabOrder = 3
EditLabel.Width = 98
EditLabel.Height = 29
EditLabel.Caption = 'Email Address'
EditLabel.Layout = tlCenter
LabelPosition = lpLeft
LabelSpacing = 4
end
object DBContactNum: TDBLabeledEdit
Left = 144
Top = 121
Width = 153
Height = 29
DataField = 'ContactNum'
DataSource = dsSCMCoach
TabOrder = 4
EditLabel.Width = 115
EditLabel.Height = 29
EditLabel.Caption = 'Contact Number'
EditLabel.Layout = tlCenter
LabelPosition = lpLeft
LabelSpacing = 4
end
object DBWesite: TDBLabeledEdit
Left = 144
Top = 156
Width = 489
Height = 29
DataField = 'WebSite'
DataSource = dsSCMCoach
TabOrder = 5
EditLabel.Width = 55
EditLabel.Height = 29
EditLabel.Caption = 'Website'
EditLabel.Layout = tlCenter
LabelPosition = lpLeft
LabelSpacing = 4
end
object btnLoadHouseLogo: TButton
Left = 270
Top = 558
Width = 86
Height = 33
Caption = 'Load'
TabOrder = 6
OnClick = btnLoadHouseLogoClick
end
object qrySCMCoach: TFDQuery
ActiveStoredUsage = [auDesignTime]
AfterScroll = qrySCMCoachAfterScroll
Connection = COACH.coachConnection
SQL.Strings = (
'USE SCM_Coach;'
''
'SELECT [SCMCoachID]'
' , [BusinessName]'
' , [NickName]'
' , [Caption]'
' , [Email]'
' , [ContactNum]'
' , [WebSite]'
' , [CreatedOn]'
' , [ArchivedOn]'
' , [LogoDir]'
' , [LogoImg]'
' , [LogoType]'
' , [DictionaryState]'
' , [defSessionDir]'
' , [defProgramDir]'
' , [defExportDir]'
' , [defImportDir]'
'FROM [SCM_Coach].[dbo].[SCMCoach]')
Left = 66
Top = 336
object qrySCMCoachSCMCoachID: TFDAutoIncField
FieldName = 'SCMCoachID'
Origin = 'SCMCoachID'
ReadOnly = True
end
object qrySCMCoachBusinessName: TWideStringField
FieldName = 'BusinessName'
Origin = 'BusinessName'
Size = 128
end
object qrySCMCoachNickName: TWideStringField
FieldName = 'NickName'
Origin = 'NickName'
Size = 128
end
object qrySCMCoachCaption: TWideStringField
FieldName = 'Caption'
Origin = 'Caption'
Size = 128
end
object qrySCMCoachEmail: TWideStringField
FieldName = 'Email'
Origin = 'Email'
Size = 128
end
object qrySCMCoachContactNum: TWideStringField
FieldName = 'ContactNum'
Origin = 'ContactNum'
Size = 30
end
object qrySCMCoachWebSite: TWideStringField
FieldName = 'WebSite'
Origin = 'WebSite'
Size = 256
end
object qrySCMCoachCreatedOn: TSQLTimeStampField
FieldName = 'CreatedOn'
Origin = 'CreatedOn'
end
object qrySCMCoachArchivedOn: TSQLTimeStampField
FieldName = 'ArchivedOn'
Origin = 'ArchivedOn'
end
object qrySCMCoachLogoDir: TMemoField
FieldName = 'LogoDir'
Origin = 'LogoDir'
OnGetText = qrySCMCoachLogoDirGetText
BlobType = ftMemo
Size = 2147483647
end
object qrySCMCoachLogoImg: TBlobField
FieldName = 'LogoImg'
Origin = 'LogoImg'
end
object qrySCMCoachLogoType: TWideStringField
FieldName = 'LogoType'
Origin = 'LogoType'
Size = 5
end
object qrySCMCoachDictionaryState: TIntegerField
FieldName = 'DictionaryState'
Origin = 'DictionaryState'
end
object qrySCMCoachdefSessionDir: TWideMemoField
FieldName = 'defSessionDir'
Origin = 'defSessionDir'
BlobType = ftWideMemo
Size = 2147483647
end
object qrySCMCoachdefProgramDir: TWideMemoField
FieldName = 'defProgramDir'
Origin = 'defProgramDir'
BlobType = ftWideMemo
Size = 2147483647
end
object qrySCMCoachdefExportDir: TWideMemoField
FieldName = 'defExportDir'
Origin = 'defExportDir'
BlobType = ftWideMemo
Size = 2147483647
end
object qrySCMCoachdefImportDir: TWideMemoField
FieldName = 'defImportDir'
Origin = 'defImportDir'
BlobType = ftWideMemo
Size = 2147483647
end
end
object dsSCMCoach: TDataSource
DataSet = qrySCMCoach
Left = 66
Top = 248
end
object OpenPictureDialog1: TOpenPictureDialog
Filter =
'All (*.gif;*.jpg;*.jpeg;*.png;*.bmp;*.ico;*.emf;*.wmf;*.tif;*.ti' +
'ff)|*.gif;*.jpg;*.jpeg;*.png;*.bmp;*.ico;*.emf;*.wmf;*.tif;*.tif' +
'f|GIF Image (*.gif)|*.gif|JPEG Image File (*.jpg)|*.jpg|JPEG Ima' +
'ge File (*.jpeg)|*.jpeg|Portable Network Graphics (*.png)|*.png|' +
'Bitmaps (*.bmp)|*.bmp|Icons (*.ico)|*.ico|Enhanced Metafiles (*.' +
'emf)|*.emf|Metafiles (*.wmf)|*.wmf|TIFF Images (*.tif)|*.tif|TIF' +
'F Images (*.tiff)|*.tiff'
Options = [ofHideReadOnly, ofPathMustExist, ofFileMustExist, ofEnableSizing]
Title = 'Load SCM House Logo'
Left = 63
Top = 421
end
end