-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUnitAddDevice.dfm
More file actions
283 lines (283 loc) · 7.71 KB
/
Copy pathUnitAddDevice.dfm
File metadata and controls
283 lines (283 loc) · 7.71 KB
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
object FormAddDevice: TFormAddDevice
Left = 250
Top = 200
BorderIcons = [biSystemMenu]
Caption = #35774#22791#20449#24687#31649#29702
ClientHeight = 357
ClientWidth = 529
Color = clWindow
Constraints.MinHeight = 26
Constraints.MinWidth = 100
Ctl3D = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnShow = AdvMetroFormShow
Appearance.SystemIconColorDisabled = 5921370
Appearance.CaptionFont.Charset = DEFAULT_CHARSET
Appearance.CaptionFont.Color = clWhite
Appearance.CaptionFont.Height = -11
Appearance.CaptionFont.Name = 'Segoe UI'
Appearance.CaptionFont.Style = []
Appearance.CaptionColor = 11576180
Appearance.CaptionActiveColor = 15907840
Appearance.Font.Charset = DEFAULT_CHARSET
Appearance.Font.Color = clWhite
Appearance.Font.Height = -11
Appearance.Font.Name = 'Segoe UI'
Appearance.Font.Style = []
Appearance.TextColor = clBlack
Text = ''
PixelsPerInch = 96
TextHeight = 13
object CurvyPanel1: TCurvyPanel
Left = 0
Top = 26
Width = 529
Height = 175
Align = alTop
Rounding = 0
TabOrder = 0
object Label1: TLabel
Left = 31
Top = 35
Width = 48
Height = 13
Caption = #35774#22791#21517#31216
end
object Label2: TLabel
Left = 31
Top = 85
Width = 48
Height = 13
Caption = #35774#22791#22411#21495
end
object Label3: TLabel
Left = 204
Top = 85
Width = 48
Height = 13
Caption = #35774#22791#25968#37327
end
object Label4: TLabel
Left = 354
Top = 85
Width = 48
Height = 13
Caption = #35774#22791#29366#24577
end
object AdvMetroTile1: TAdvMetroTile
Left = 194
Top = 130
Width = 78
Height = 24
Appearance.BorderColor = clHighlight
Appearance.HoverColor = 15907840
Appearance.HoverBorderColor = 15907840
Appearance.HoverTextColor = clWhite
Appearance.DownColor = 11576180
Appearance.DownBorderColor = 11576180
Appearance.DownTextColor = clWhite
Appearance.DisabledColor = clSilver
Appearance.DisabledBorderColor = clSilver
Appearance.DisabledTextColor = clGray
Caption = #28155' '#21152
TabOrder = 0
Version = '1.1.2.0'
OnClick = AdvMetroTile1Click
end
object CurvyCombo1: TCurvyCombo
Left = 408
Top = 80
Width = 100
Height = 24
TabOrder = 1
TabStop = False
Version = '1.2.1.0'
AutoCloseUp = True
Controls = <>
ImeName = ''
Items.Strings = (
#27491#24120
#25925#38556
#25253#24223)
Sorted = False
Text = ''
OnSelect = CurvyCombo1Select
end
object CurvyEdit1: TCurvyEdit
Left = 85
Top = 30
Width = 423
Height = 24
TabOrder = 2
TabStop = False
Version = '1.2.1.0'
Alignment = taCenter
Controls = <>
ImeName = ''
Text = ''
end
object CurvyEdit2: TCurvyEdit
Left = 85
Top = 80
Width = 100
Height = 24
TabOrder = 3
TabStop = False
Version = '1.2.1.0'
Alignment = taCenter
Controls = <>
ImeName = ''
Text = ''
end
object CurvyEdit3: TCurvyEdit
Left = 258
Top = 80
Width = 76
Height = 24
TabOrder = 4
TabStop = False
Version = '1.2.1.0'
Alignment = taCenter
Controls = <>
ImeName = ''
NumbersOnly = True
Text = ''
end
object AdvMetroTile2: TAdvMetroTile
Left = 312
Top = 130
Width = 78
Height = 24
Appearance.BorderColor = clHighlight
Appearance.HoverColor = 15907840
Appearance.HoverBorderColor = 15907840
Appearance.HoverTextColor = clWhite
Appearance.DownColor = 11576180
Appearance.DownBorderColor = 11576180
Appearance.DownTextColor = clWhite
Appearance.DisabledColor = clSilver
Appearance.DisabledBorderColor = clRed
Appearance.DisabledTextColor = clBlack
Caption = #21024' '#38500
Enabled = False
TabOrder = 5
Version = '1.1.2.0'
OnClick = AdvMetroTile2Click
end
object AdvMetroTile3: TAdvMetroTile
Left = 430
Top = 130
Width = 78
Height = 24
Appearance.BorderColor = clHighlight
Appearance.HoverColor = 15907840
Appearance.HoverBorderColor = 15907840
Appearance.HoverTextColor = clWhite
Appearance.DownColor = 11576180
Appearance.DownBorderColor = 11576180
Appearance.DownTextColor = clWhite
Appearance.DisabledColor = clSilver
Appearance.DisabledBorderColor = clSilver
Appearance.DisabledTextColor = clGray
Caption = #25171' '#21360
TabOrder = 6
Version = '1.1.2.0'
OnClick = AdvMetroTile3Click
end
end
object DBGridEhDevice: TDBGridEh
Tag = 1
Left = 0
Top = 201
Width = 529
Height = 156
PopupMenuParams.BuildMenuOnPopup = True
PopupMenuParams.UseIndicatorMenu = True
Align = alClient
AutoFitColWidths = True
ColumnDefValues.Title.Alignment = taCenter
Ctl3D = False
DataSource = DM.DS01
DynProps = <>
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
IndicatorOptions = [gioShowRowIndicatorEh, gioShowRecNoEh]
EmptyDataInfo.Active = True
EmptyDataInfo.Text = #26410#26597#35810#21040#25968#25454
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghShowRecNo, dghColumnResize, dghColumnMove, dghExtendVertLines]
ParentCtl3D = False
ParentFont = False
TabOrder = 1
TitleParams.Font.Charset = DEFAULT_CHARSET
TitleParams.Font.Color = clWindowText
TitleParams.Font.Height = -11
TitleParams.Font.Name = 'Tahoma'
TitleParams.Font.Style = [fsBold]
TitleParams.ParentFont = False
OnCellClick = DBGridEhDeviceCellClick
Columns = <
item
Alignment = taCenter
DynProps = <>
EditButtons = <>
FieldName = 'DeviceName'
Footers = <>
Width = 141
end
item
Alignment = taCenter
DynProps = <>
EditButtons = <>
FieldName = 'DeviceCount'
Footers = <>
Width = 79
end
item
Alignment = taCenter
DynProps = <>
EditButtons = <>
FieldName = 'DeviceType'
Footers = <>
Width = 205
end
item
Alignment = taCenter
DynProps = <>
EditButtons = <>
FieldName = 'DeviceStatus'
Footers = <>
Width = 80
end>
object RowDetailData: TRowDetailPanelControlEh
end
end
object PrintDBGridEh1: TPrintDBGridEh
DBGridEh = DBGridEhDevice
Options = []
PageFooter.Font.Charset = DEFAULT_CHARSET
PageFooter.Font.Color = clWindowText
PageFooter.Font.Height = -9
PageFooter.Font.Name = 'Tahoma'
PageFooter.Font.Style = []
PageHeader.CenterText.Strings = (
'xxx '#30340' '#35774#22791#20449#24687#21015#34920)
PageHeader.Font.Charset = DEFAULT_CHARSET
PageHeader.Font.Color = clWindowText
PageHeader.Font.Height = -11
PageHeader.Font.Name = 'Tahoma'
PageHeader.Font.Style = []
Units = MM
Left = 306
Top = 262
end
end