-
Notifications
You must be signed in to change notification settings - Fork 37
/
Frames.ScanResult.fmx
215 lines (215 loc) · 6.56 KB
/
Frames.ScanResult.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
object ScanResultFrame: TScanResultFrame
Align = Client
Size.Width = 358.000000000000000000
Size.Height = 508.000000000000000000
Size.PlatformDefault = False
OnClick = FrameClick
object ResultLayout: TLayout
Align = Bottom
Position.Y = 308.000000000000000000
Size.Width = 358.000000000000000000
Size.Height = 200.000000000000000000
Size.PlatformDefault = False
TabOrder = 1
object BackgroundRectangle: TRectangle
Align = Contents
HitTest = False
Size.Width = 358.000000000000000000
Size.Height = 200.000000000000000000
Size.PlatformDefault = False
Stroke.Thickness = 3.000000000000000000
end
object InfoBottomLayout: TLayout
Align = Bottom
Margins.Left = 5.000000000000000000
Margins.Right = 5.000000000000000000
Margins.Bottom = 5.000000000000000000
Position.X = 5.000000000000000000
Position.Y = 170.000000000000000000
Size.Width = 348.000000000000000000
Size.Height = 25.000000000000000000
Size.PlatformDefault = False
TabOrder = 0
object KindLabel: TLabel
Align = Left
StyledSettings = [Family, Style]
Size.Width = 100.000000000000000000
Size.Height = 25.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 10.000000000000000000
TextSettings.FontColor = claGray
TextSettings.HorzAlign = Trailing
TabOrder = 1
end
object TimeStampLabel: TLabel
Align = Client
StyledSettings = [Family, Style]
Size.Width = 248.000000000000000000
Size.Height = 25.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 10.000000000000000000
TextSettings.FontColor = claGray
TextSettings.HorzAlign = Center
TabOrder = 0
end
end
object InfoTopLayout: TLayout
Align = Top
Margins.Left = 5.000000000000000000
Margins.Top = 5.000000000000000000
Margins.Right = 5.000000000000000000
Position.X = 5.000000000000000000
Position.Y = 5.000000000000000000
Size.Width = 348.000000000000000000
Size.Height = 30.000000000000000000
Size.PlatformDefault = False
TabOrder = 1
object Label1: TLabel
Align = Left
StyledSettings = [Family, Style]
Size.Width = 100.000000000000000000
Size.Height = 30.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 10.000000000000000000
TextSettings.FontColor = claGray
TextSettings.HorzAlign = Trailing
TabOrder = 1
end
object ScanCountLabel: TLabel
Align = Right
StyledSettings = [Family, Style]
Position.X = 248.000000000000000000
Size.Width = 100.000000000000000000
Size.Height = 30.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 14.000000000000000000
TextSettings.FontColor = claCadetblue
TextSettings.HorzAlign = Trailing
TabOrder = 0
end
end
object ResultLabel: TLabel
Align = Contents
Margins.Left = 45.000000000000000000
Margins.Top = 25.000000000000000000
Margins.Right = 5.000000000000000000
Margins.Bottom = 25.000000000000000000
Size.Width = 308.000000000000000000
Size.Height = 150.000000000000000000
Size.PlatformDefault = False
TextSettings.HorzAlign = Center
TabOrder = 2
end
object ActionsLayout: TGridLayout
Align = Left
ItemHeight = 64.000000000000000000
ItemWidth = 64.000000000000000000
Orientation = Vertical
Position.Y = 35.000000000000000000
Size.Width = 64.000000000000000000
Size.Height = 135.000000000000000000
Size.PlatformDefault = False
TabOrder = 4
object ShareButton: TButton
Action = ShareAction
Align = Left
Enabled = True
ImageIndex = -1
Size.Width = 64.000000000000000000
Size.Height = 64.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'actiontoolbutton'
TabOrder = 1
end
object DeleteButton: TButton
Action = DeleteAction
Align = Left
Enabled = True
ImageIndex = -1
Position.Y = 64.000000000000000000
Size.Width = 64.000000000000000000
Size.Height = 64.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'deleteitembutton'
TabOrder = 0
end
end
end
object FrameLayout: TLayout
Align = Client
Size.Width = 358.000000000000000000
Size.Height = 308.000000000000000000
Size.PlatformDefault = False
TabOrder = 5
object FrameImage: TImage
MultiResBitmap = <
item
end>
Align = Client
HitTest = False
Margins.Bottom = 10.000000000000000000
Size.Width = 358.000000000000000000
Size.Height = 298.000000000000000000
Size.PlatformDefault = False
end
end
object BindSourceDB1: TBindSourceDB
DataSet = MainDM.DataTable
ScopeMappings = <>
Left = 32
Top = 72
end
object BindingsList1: TBindingsList
Methods = <>
OutputConverters = <>
Left = 36
Top = 21
object LinkPropertyToFieldText: TLinkPropertyToField
Category = 'Quick Bindings'
DataSource = BindSourceDB1
FieldName = 'ScannedAt'
Component = TimeStampLabel
ComponentProperty = 'Text'
end
object LinkPropertyToFieldText2: TLinkPropertyToField
Category = 'Quick Bindings'
DataSource = BindSourceDB1
FieldName = 'Kind'
Component = KindLabel
ComponentProperty = 'Text'
end
object LinkPropertyToFieldText3: TLinkPropertyToField
Category = 'Quick Bindings'
DataSource = BindSourceDB1
FieldName = 'Value'
Component = ResultLabel
ComponentProperty = 'Text'
end
object LinkPropertyToFieldText4: TLinkPropertyToField
Category = 'Quick Bindings'
DataSource = BindSourceDB1
FieldName = 'ScanCount'
Component = ScanCountLabel
ComponentProperty = 'Text'
end
object LinkPropertyToFieldBitmap: TLinkPropertyToField
Category = 'Quick Bindings'
DataSource = BindSourceDB1
FieldName = 'Bitmap'
Component = FrameImage
ComponentProperty = 'Bitmap'
end
end
object ActionList1: TActionList
Left = 152
Top = 112
object ShareAction: TShowShareSheetAction
Category = 'Media Library'
OnBeforeExecute = ShareActionBeforeExecute
end
object DeleteAction: TAction
Text = 'Delete'
OnExecute = DeleteActionExecute
end
end
end