-
-
Notifications
You must be signed in to change notification settings - Fork 584
Expand file tree
/
Copy pathexportgrid.dfm
More file actions
401 lines (401 loc) · 9.49 KB
/
Copy pathexportgrid.dfm
File metadata and controls
401 lines (401 loc) · 9.49 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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
object frmExportGrid: TfrmExportGrid
Left = 0
Top = 0
BorderIcons = [biSystemMenu]
Caption = 'Export grid rows'
ClientHeight = 412
ClientWidth = 574
Color = clBtnFace
Constraints.MinHeight = 450
Constraints.MinWidth = 530
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
Position = poMainFormCenter
OnClose = FormClose
OnCreate = FormCreate
OnShow = FormShow
DesignSize = (
574
412)
TextHeight = 14
object btnOK: TButton
Left = 410
Top = 379
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Caption = 'OK'
Default = True
ModalResult = 1
TabOrder = 5
OnClick = btnOKClick
end
object btnCancel: TButton
Left = 491
Top = 379
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Cancel = True
Caption = 'Cancel'
ModalResult = 2
TabOrder = 6
end
object grpSelection: TRadioGroup
Left = 8
Top = 168
Width = 558
Height = 66
Anchors = [akLeft, akTop, akRight]
Caption = 'Row selection'
ItemIndex = 1
Items.Strings = (
'Selected rows'
'All loaded rows')
TabOrder = 2
end
object grpOutput: TGroupBox
Left = 8
Top = 8
Width = 558
Height = 98
Anchors = [akLeft, akTop, akRight]
Caption = 'Output target'
TabOrder = 0
DesignSize = (
558
98)
object lblEncoding: TLabel
Left = 8
Top = 72
Width = 54
Height = 14
Caption = 'Encoding:'
end
object radioOutputCopyToClipboard: TRadioButton
Left = 8
Top = 18
Width = 540
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Copy to clipboard'
Checked = True
TabOrder = 0
TabStop = True
OnClick = ValidateControls
end
object radioOutputFile: TRadioButton
Left = 8
Top = 43
Width = 55
Height = 17
Caption = 'File'
TabOrder = 1
OnClick = ValidateControls
end
object editFilename: TButtonedEdit
Left = 79
Top = 42
Width = 469
Height = 22
Anchors = [akLeft, akTop, akRight]
Images = MainForm.VirtualImageListMain
LeftButton.DropDownMenu = popupRecentFiles
LeftButton.ImageIndex = 75
LeftButton.Visible = True
RightButton.ImageIndex = 51
RightButton.Visible = True
TabOrder = 2
TextHint = 'Doubleclick to select file'
OnChange = editFilenameChange
OnDblClick = editFilenameRightButtonClick
OnRightButtonClick = editFilenameRightButtonClick
end
object comboEncoding: TComboBox
Left = 79
Top = 69
Width = 469
Height = 22
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
TabOrder = 3
end
end
object grpOptions: TGroupBox
Left = 8
Top = 240
Width = 558
Height = 133
Anchors = [akLeft, akTop, akRight, akBottom]
Caption = 'Options'
TabOrder = 3
DesignSize = (
558
133)
object lblSeparator: TLabel
Left = 279
Top = 18
Width = 83
Height = 14
Caption = 'Field separator:'
end
object lblEncloser: TLabel
Left = 279
Top = 44
Width = 49
Height = 14
Caption = 'Encloser:'
end
object lblTerminator: TLabel
Left = 279
Top = 71
Width = 87
Height = 14
Caption = 'Line terminator:'
end
object lblNull: TLabel
Left = 279
Top = 97
Width = 64
Height = 14
Caption = 'NULL value:'
end
object chkIncludeColumnNames: TCheckBox
Left = 8
Top = 18
Width = 257
Height = 17
Caption = 'Include column names'
Checked = True
State = cbChecked
TabOrder = 0
end
object editSeparator: TButtonedEdit
Left = 400
Top = 15
Width = 148
Height = 22
Anchors = [akLeft, akTop, akRight]
Images = MainForm.VirtualImageListMain
RightButton.DisabledImageIndex = 107
RightButton.ImageIndex = 108
RightButton.Visible = True
TabOrder = 6
Text = ';'
OnChange = editCSVChange
OnRightButtonClick = editCSVRightButtonClick
end
object editEncloser: TButtonedEdit
Left = 400
Top = 41
Width = 148
Height = 22
Anchors = [akLeft, akTop, akRight]
Images = MainForm.VirtualImageListMain
RightButton.DisabledImageIndex = 107
RightButton.ImageIndex = 108
RightButton.Visible = True
TabOrder = 7
OnChange = editCSVChange
OnRightButtonClick = editCSVRightButtonClick
end
object editTerminator: TButtonedEdit
Left = 400
Top = 68
Width = 148
Height = 22
Anchors = [akLeft, akTop, akRight]
Images = MainForm.VirtualImageListMain
RightButton.DisabledImageIndex = 107
RightButton.ImageIndex = 108
RightButton.Visible = True
TabOrder = 8
Text = '\r\n'
OnChange = editCSVChange
OnRightButtonClick = editCSVRightButtonClick
end
object chkIncludeAutoIncrement: TCheckBox
Left = 8
Top = 41
Width = 257
Height = 17
Caption = 'Include auto increment column'
TabOrder = 1
end
object chkIncludeQuery: TCheckBox
Left = 8
Top = 87
Width = 257
Height = 17
Caption = 'Include SQL query'
TabOrder = 3
end
object editNull: TButtonedEdit
Left = 400
Top = 94
Width = 148
Height = 22
Anchors = [akLeft, akTop, akRight]
Images = MainForm.VirtualImageListMain
RightButton.DisabledImageIndex = 107
RightButton.ImageIndex = 108
RightButton.Visible = True
TabOrder = 9
OnChange = editCSVChange
OnRightButtonClick = editCSVRightButtonClick
end
object chkRemoveLinebreaks: TCheckBox
Left = 8
Top = 110
Width = 257
Height = 17
Caption = 'Remove linebreaks from contents'
TabOrder = 4
end
object chkOpenFile: TCheckBox
Left = 8
Top = 133
Width = 257
Height = 17
Caption = 'Open file after creation'
TabOrder = 5
end
object chkFocusedColumnOnly: TCheckBox
Left = 8
Top = 64
Width = 265
Height = 17
Caption = 'Only focused column (%s)'
TabOrder = 2
end
end
object btnSetClipboardDefaults: TButton
Left = 8
Top = 379
Width = 153
Height = 25
Anchors = [akLeft, akBottom]
Caption = 'Save clipboard settings'
ImageIndex = 4
ImageName = 'icons8-paste-100'
Images = MainForm.VirtualImageListMain
TabOrder = 4
OnClick = btnSetClipboardDefaultsClick
end
object grpFormat: TGroupBox
Left = 8
Top = 112
Width = 558
Height = 50
Anchors = [akLeft, akTop, akRight]
Caption = 'Output format'
TabOrder = 1
DesignSize = (
558
50)
object comboFormat: TComboBoxEx
Left = 8
Top = 18
Width = 540
Height = 23
ItemsEx = <
item
Caption = 'Excel CSV'
ImageIndex = 49
SelectedImageIndex = 49
end
item
Caption = 'CSV'
ImageIndex = 50
SelectedImageIndex = 50
end
item
Caption = '...'
end>
Style = csExDropDownList
Anchors = [akLeft, akTop, akRight]
TabOrder = 0
OnSelect = comboFormatSelect
Images = MainForm.VirtualImageListMain
DropDownCount = 20
end
end
object popupCSVchar: TPopupMenu
AutoHotkeys = maManual
Left = 160
Top = 6
object menuCSVtab: TMenuItem
Caption = 'Tab'
Hint = '\t'
OnClick = menuCSVClick
end
object menuCSVcomma: TMenuItem
Caption = 'Comma'
Hint = ','
OnClick = menuCSVClick
end
object menuCSVsemicolon: TMenuItem
Caption = 'Semicolon'
Hint = ';'
OnClick = menuCSVClick
end
object N1: TMenuItem
Caption = '-'
end
object menuCSVsinglequote: TMenuItem
Caption = 'Single quote'
Hint = #39
OnClick = menuCSVClick
end
object menuCSVdoublequote: TMenuItem
Caption = 'Double quote'
Hint = '"'
OnClick = menuCSVClick
end
object N2: TMenuItem
Caption = '-'
end
object menuCSVwinlinebreak: TMenuItem
Caption = 'Windows linebreak'
Hint = '\r\n'
OnClick = menuCSVClick
end
object menuCSVunixlinebreak: TMenuItem
Caption = 'UNIX linebreak'
Hint = '\n'
OnClick = menuCSVClick
end
object menuCSVmaclinebreak: TMenuItem
Caption = 'Mac OS linebreak'
Hint = '\r'
OnClick = menuCSVClick
end
object N3: TMenuItem
Caption = '-'
end
object menuCSVnul: TMenuItem
Caption = 'NUL character'
Hint = '\0'
OnClick = menuCSVClick
end
object menuCSVbackspace: TMenuItem
Caption = 'Backspace'
Hint = '\b'
OnClick = menuCSVClick
end
object menuCSVcontrolz: TMenuItem
Caption = 'Control+Z'
Hint = '\Z'
OnClick = menuCSVClick
end
end
object popupRecentFiles: TPopupMenu
AutoHotkeys = maManual
OnPopup = popupRecentFilesPopup
Left = 248
Top = 6
end
end