-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunit1.lfm
280 lines (280 loc) · 6.95 KB
/
unit1.lfm
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
object Form1: TForm1
Left = -8
Height = 366
Top = -8
Width = 812
BorderStyle = bsSingle
Caption = 'Advanced player'
ClientHeight = 366
ClientWidth = 812
Menu = MainMenu1
OnClose = FormClose
OnCreate = FormCreate
Position = poScreenCenter
WindowState = wsMaximized
object DBCntrlGrid1: TDBCntrlGrid
Left = 5
Height = 319
Top = 5
Width = 802
Align = alClient
AltColorStartNormal = True
BorderSpacing.Left = 5
BorderSpacing.Top = 5
BorderSpacing.Right = 5
BorderSpacing.Bottom = 5
Color = clNone
DataSource = DataSource1
DefaultPositionAtEnd = False
DrawPanel = Panel1
FixedCols = 0
Flat = True
Options = [dgpIndicator]
TabOrder = 0
ColWidths = (
785
)
object Panel1: TPanel
Left = 1
Height = 47
Top = 9
Width = 777
ClientHeight = 47
ClientWidth = 777
TabOrder = 0
object Button1: TButton
AnchorSideLeft.Control = Button3
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Panel1
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
Cursor = crHandPoint
Left = 716
Height = 33
Top = 6
Width = 55
Anchors = [akTop, akRight]
BorderSpacing.Left = 5
BorderSpacing.Top = 5
BorderSpacing.Right = 5
Caption = '>'
OnClick = Button1Click
TabOrder = 0
end
object Button2: TButton
AnchorSideTop.Control = Panel1
AnchorSideRight.Control = Button1
Cursor = crHandPoint
Left = 656
Height = 32
Top = 6
Width = 55
Anchors = [akTop, akRight]
BorderSpacing.Top = 5
BorderSpacing.Right = 5
Caption = '||'
OnClick = Button2Click
TabOrder = 1
end
object Button3: TButton
AnchorSideTop.Control = Panel1
AnchorSideRight.Control = Button2
Cursor = crHandPoint
Left = 596
Height = 33
Top = 6
Width = 55
Anchors = [akTop, akRight]
BorderSpacing.Left = 5
BorderSpacing.Top = 5
BorderSpacing.Right = 5
Caption = '[]'
OnClick = Button3Click
TabOrder = 2
end
object DBMemo1: TDBMemo
AnchorSideLeft.Control = Panel1
AnchorSideTop.Control = Panel1
AnchorSideRight.Control = Button3
Left = 6
Height = 30
Top = 6
Width = 585
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Left = 5
BorderSpacing.Top = 5
BorderSpacing.Right = 5
BorderSpacing.Bottom = 5
BorderStyle = bsNone
DataField = 'filepath'
DataSource = DataSource1
TabOrder = 3
end
end
end
object Panel2: TPanel
AnchorSideLeft.Control = Owner
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 5
Height = 32
Top = 329
Width = 802
Align = alBottom
BorderSpacing.Left = 5
BorderSpacing.Right = 5
BorderSpacing.Bottom = 5
ClientHeight = 32
ClientWidth = 802
TabOrder = 1
object Label2: TLabel
AnchorSideTop.Control = Panel2
AnchorSideRight.Control = Panel2
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Panel2
AnchorSideBottom.Side = asrBottom
Left = 754
Height = 20
Top = 6
Width = 42
Anchors = [akTop, akRight, akBottom]
BorderSpacing.Left = 5
BorderSpacing.Top = 5
BorderSpacing.Right = 5
BorderSpacing.Bottom = 5
Caption = '00:00:00'
ParentColor = False
end
object TrackBar1: TTrackBar
AnchorSideLeft.Control = Label3
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Panel2
AnchorSideRight.Control = Label2
AnchorSideBottom.Control = Panel2
AnchorSideBottom.Side = asrBottom
Left = 53
Height = 20
Top = 6
Width = 696
Position = 0
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Left = 5
BorderSpacing.Top = 5
BorderSpacing.Right = 5
BorderSpacing.Bottom = 5
OnClick = TrackBar1Click
TabOrder = 0
end
object Label3: TLabel
AnchorSideLeft.Control = Panel2
AnchorSideTop.Control = Panel2
AnchorSideBottom.Control = Panel2
AnchorSideBottom.Side = asrBottom
Left = 6
Height = 20
Top = 6
Width = 42
Anchors = [akTop, akLeft, akBottom]
BorderSpacing.Left = 5
BorderSpacing.Top = 5
BorderSpacing.Right = 5
BorderSpacing.Bottom = 5
Caption = '00:00:00'
ParentColor = False
end
end
object SQLite3Connection1: TSQLite3Connection
Connected = True
LoginPrompt = False
DatabaseName = 'files.db'
KeepConnection = False
Transaction = SQLTransaction1
AlwaysUseBigint = False
Left = 408
Top = 160
end
object SQLQuery1: TSQLQuery
FieldDefs = <>
Database = SQLite3Connection1
Transaction = SQLTransaction1
Params = <>
Left = 320
Top = 208
end
object SQLTransaction1: TSQLTransaction
Active = True
Database = SQLite3Connection1
Left = 368
Top = 104
end
object DataSource1: TDataSource
DataSet = SQLQuery1
Left = 416
Top = 104
end
object OpenDialog1: TOpenDialog
Filter = 'Mp3 Files|*.MP3|Wav files|*.Wav'
Options = [ofAllowMultiSelect, ofEnableSizing, ofViewDetail]
Left = 288
Top = 104
end
object MainMenu1: TMainMenu
Left = 328
Top = 152
object MenuItem1: TMenuItem
Caption = 'File'
object MenuItem2: TMenuItem
Caption = 'Open'
ShortCut = 32847
OnClick = MenuItem2Click
end
object MenuItem3: TMenuItem
Caption = 'Close'
ShortCut = 32835
OnClick = MenuItem3Click
end
end
object MenuItem4: TMenuItem
Caption = 'About'
object MenuItem5: TMenuItem
Caption = 'About'
ShortCut = 32833
OnClick = MenuItem5Click
end
end
end
object SQLScript1: TSQLScript
DataBase = SQLite3Connection1
Transaction = SQLTransaction1
AutoCommit = False
UseDollarString = False
Directives.Strings = (
'SET TERM'
'COMMIT WORK'
'COMMIT RETAIN'
'COMMIT'
'#IFDEF'
'#IFNDEF'
'#ELSE'
'#ENDIF'
'#DEFINE'
'#UNDEF'
'#UNDEFINE'
)
Terminator = ';'
CommentsinSQL = True
UseSetTerm = True
UseCommit = True
UseDefines = True
Left = 280
Top = 160
end
object Timer1: TTimer
Enabled = False
OnTimer = Timer1Timer
Left = 8
Top = 8
end
end