-
Notifications
You must be signed in to change notification settings - Fork 2
/
msefiledialog.mfm
executable file
·480 lines (480 loc) · 14.6 KB
/
msefiledialog.mfm
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
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
object filedialogfo: Tfiledialogfo
optionswidget = [ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_subfocus, ow_destroywidgets, ow_hinton]
visible = False
bounds_x = 69
bounds_y = 308
bounds_cx = 601
bounds_cy = 325
bounds_cxmin = 360
bounds_cymin = 150
container.optionswidget = [ow_mousefocus, ow_tabfocus, ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_subfocus, ow_mousetransparent, ow_destroywidgets]
container.frame.zoomwidthstep = 1
container.frame.zoomheightstep = 1
container.onlayout = foonchildscaled
container.bounds = (
0
0
601
325
)
optionswindow = [wo_utility, wo_notaskbar]
options = [fo_screencentered, fo_closeonesc, fo_localshortcuts, fo_autoreadstat, fo_autowritestat, fo_savepos]
oncreate = formoncreate
onkeydown = listviewonkeydown
onshow = on_show
onlayout = foonchildscaled
left = 239
top = 138
moduleclassname = 'tmseform'
object namecont: tgroupbox
visible = False
bounds_x = 144
bounds_y = 232
bounds_cx = 323
bounds_cy = 50
anchors = [an_left, an_top, an_right]
end
object bucont: tspacer
optionswidget = [ow_tabfocus, ow_parenttabfocus, ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_subfocus, ow_mousewheel, ow_destroywidgets]
taborder = 4
visible = True
bounds_x = 467
bounds_y = 252
bounds_cx = 133
bounds_cy = 71
anchors = [an_right, an_bottom]
optionsscale = [osc_expandx, osc_shrinkx]
linkleft = namecont
options = [spao_glueright]
object tspacer4: tspacer
taborder = 2
bounds_x = 41
bounds_y = 52
bounds_cx = 8
bounds_cy = 20
linkleft = ok
linkright = cancel
end
object cancel: tbutton
optionswidget1 = [ow1_autowidth, ow1_autoheight]
optionswidget = [ow_tabfocus, ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_destroywidgets]
frame.template = mainfo.fr_buttons
frame.dummy = 0
face.template = mainfo.f_buttons
face.dummy = 0
taborder = 1
bounds_x = 49
bounds_y = 49
bounds_cx = 54
bounds_cy = 22
bounds_cxmin = 35
anchors = [an_left, an_bottom]
state = [as_localcaption]
caption = '&Cancel'
modalresult = mr_cancel
options = [bo_executeonclick, bo_executeonkey, bo_executeonshortcut, bo_executedefaultonenterkey, bo_candefocuswindow]
end
object ok: tbutton
optionswidget1 = [ow1_autowidth, ow1_autoheight]
optionswidget = [ow_tabfocus, ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_destroywidgets]
color = -1879048187
frame.template = mainfo.fr_buttons
frame.dummy = 0
face.template = mainfo.f_buttons
face.dummy = 0
bounds_x = 6
bounds_y = 49
bounds_cx = 35
bounds_cy = 22
bounds_cxmin = 35
anchors = [an_left, an_bottom]
state = [as_default, as_localdefault, as_localcaption, as_localonexecute]
caption = '&Ok'
options = [bo_executeonclick, bo_executeonkey, bo_executeonshortcut, bo_executedefaultonenterkey, bo_candefocuswindow]
onexecute = okonexecute
end
object showhidden: tbooleanedit
frame.caption = '&Show hidden files'
frame.template = mainfo.fr_text_with_border
frame.dummy = 0
frame.outerframe = (
0
1
112
2
)
taborder = 3
bounds_x = 8
bounds_y = 7
bounds_cx = 125
bounds_cy = 16
anchors = [an_left, an_bottom]
onsetvalue = showhiddenonsetvalue
end
end
object listview: tfilelistview
optionswidget = [ow_mousefocus, ow_arrowfocus, ow_focusbackonesc, ow_mousewheel, ow_destroywidgets]
frame.template = mainfo.fr_text_with_border
taborder = 8
bounds_x = 144
bounds_y = 26
bounds_cx = 457
bounds_cy = 204
anchors = [an_left, an_top, an_right, an_bottom]
onkeydown = listviewonkeydown
datarowlinecolor = -1610612731
datacollinecolor = -1610612731
cellwidth = 174
cellheight = 15
optionsgrid = [og_colsizing, og_focuscellonenter, og_mousescrollcol]
options = [lvo_readonly, lvo_drawfocus, lvo_mouseselect, lvo_keyselect, lvo_multiselect, lvo_locate, lvo_hintclippedtext]
itemlist.imagelist = filedialogres.images
itemlist.imagewidth = 16
itemlist.imageheight = 16
cellwidthmin = 50
onselectionchanged = listviewselectionchanged
onitemevent = listviewitemevent
filelist.options = [flo_sortname, flo_sorttype]
onlistread = listviewonlistread
reffontheight = 14
end
object createdir: tbutton
optionswidget1 = [ow1_autowidth, ow1_autoheight]
optionswidget = [ow_tabfocus, ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_destroywidgets]
frame.template = mainfo.fr_buttons
frame.dummy = 0
face.template = mainfo.f_buttons
face.dummy = 0
taborder = 7
bounds_x = 492
bounds_y = 3
bounds_cx = 58
bounds_cy = 22
bounds_cxmin = 35
anchors = [an_top, an_right]
state = [as_localcaption, as_localonexecute]
caption = '&New dir'
options = [bo_executeonclick, bo_executeonkey, bo_executeonshortcut, bo_executedefaultonenterkey, bo_candefocuswindow]
onexecute = createdironexecute
end
object up: tbutton
optionswidget1 = [ow1_autowidth, ow1_autoheight]
optionswidget = [ow_tabfocus, ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_destroywidgets]
frame.template = mainfo.fr_buttons
frame.dummy = 0
face.template = mainfo.f_buttons
face.dummy = 0
taborder = 6
bounds_x = 455
bounds_y = 3
bounds_cx = 35
bounds_cy = 22
bounds_cxmin = 35
anchors = [an_top, an_right]
state = [as_localcaption, as_localonexecute]
caption = '&Up'
options = [bo_executeonclick, bo_executeonkey, bo_executeonshortcut, bo_executedefaultonenterkey, bo_candefocuswindow]
onexecute = upaction
end
object filename: thistoryedit
optionswidget = [ow_mousefocus, ow_tabfocus, ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_destroywidgets]
frame.caption = '&Name'
frame.captionpos = cp_left
frame.template = mainfo.fr_text_with_border
frame.button.color = -2147483646
frame.button.face.template = mainfo.f_buttons
frame.button.face.dummy = 0
frame.button.frame.template = mainfo.fr_buttons
frame.button.frame.dummy = 0
frame.outerframe = (
39
0
0
0
)
taborder = 2
bounds_x = 146
bounds_y = 277
bounds_cx = 326
anchors = [an_left, an_right, an_bottom]
optionsedit = [oe_undoonesc, oe_closequery, oe_checkmrcancel, oe_resetselectonexit, oe_exitoncursor, oe_autoselect, oe_autoselectonfirstclick, oe_savevalue, oe_savestate]
oncopytoclipboard = copytolip
onpastefromclipboard = pastefromclip
onsetvalue = filenamesetvalue
dropdown.options = [deo_keydropdown]
dropdown.dropdownrowcount = 10
dropdown.cols.count = 1
dropdown.cols.items = <
item
textflags = [tf_ycentered, tf_noselect, tf_ellipseleft]
end>
reffontheight = 14
end
object filter: tdropdownlistedit
optionswidget = [ow_mousefocus, ow_tabfocus, ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_destroywidgets]
frame.caption = '&Filter'
frame.captionpos = cp_left
frame.template = mainfo.fr_text_with_border
frame.button.color = -2147483646
frame.button.face.template = mainfo.f_buttons
frame.button.face.dummy = 0
frame.button.frame.template = mainfo.fr_buttons
frame.button.frame.dummy = 0
frame.outerframe = (
34
0
0
0
)
taborder = 3
bounds_x = 151
bounds_y = 302
bounds_cx = 321
anchors = [an_left, an_right, an_bottom]
ondataentered = filepathentered
onsetvalue = filteronsetvalue
dropdown.cols.count = 2
dropdown.cols.items = <
item
end
item
options = [co_readonly, co_invisible, co_focusselect, co_fill]
end>
dropdown.valuecol = 1
onafterclosedropdown = filteronafterclosedropdown
reffontheight = 14
end
object dir: tdirdropdownedit
optionswidget = [ow_mousefocus, ow_tabfocus, ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_destroywidgets]
frame.caption = '&Dir'
frame.captionpos = cp_left
frame.template = mainfo.fr_text_with_border
frame.button.color = -2147483646
frame.button.face.template = mainfo.f_buttons
frame.button.face.dummy = 0
frame.button.frame.template = mainfo.fr_buttons
frame.button.frame.dummy = 0
frame.outerframe = (
20
0
0
0
)
taborder = 5
onshowhint = dirshowhint
bounds_x = 149
bounds_y = 2
bounds_cx = 304
anchors = [an_left, an_top, an_right]
textflags = [tf_ycentered, tf_noselect, tf_ellipseleft]
dropdown.options = [deo_selectonly, deo_keydropdown]
onsetvalue = dironsetvalue
reffontheight = 14
end
object tspacer1: tspacer
taborder = 1
bounds_x = 490
bounds_y = 0
bounds_cx = 2
bounds_cy = 20
linkleft = up
linkright = createdir
options = [spao_glueright]
end
object tspacer3: tspacer
taborder = 9
bounds_x = 453
bounds_y = 0
bounds_cx = 2
bounds_cy = 20
linkleft = dir
linkright = up
options = [spao_glueright]
end
object tscrollbox1: tscrollbox
frame.zoomwidthstep = 1
frame.zoomheightstep = 1
taborder = 10
bounds_x = 0
bounds_y = 0
bounds_cx = 144
bounds_cy = 325
anchors = [an_left]
object tspacer2: tspacer
frame.framewidth = 1
frame.caption = 'No'#10#10'preview'
frame.captionpos = cp_center
frame.localprops = [frl_framewidth]
frame.dummy = 0
taborder = 2
visible = True
bounds_x = 8
bounds_y = 200
bounds_cx = 130
bounds_cy = 122
anchors = [an_left, an_bottom]
end
object timage1: timage
frame.zoomwidthstep = 1
frame.zoomheightstep = 1
taborder = 1
visible = False
bounds_x = 12
bounds_y = 208
bounds_cx = 122
bounds_cy = 110
anchors = [an_left, an_bottom]
bitmap.alignment = [al_fit]
end
object tmemoedit1: tmemoedit
frame.localprops = [frl_colorclient]
frame.template = mainfo.fr_text_with_border
taborder = 3
visible = False
bounds_x = 11
bounds_y = 207
bounds_cx = 123
bounds_cy = 111
anchors = [an_left, an_bottom]
optionsedit = [oe_readonly, oe_closequery, oe_checkmrcancel, oe_eatreturn, oe_resetselectonexit, oe_nofirstarrownavig, oe_focusrectonreadonly, oe_savevalue, oe_savestate, oe_checkvaluepaststatread]
textflags = [tf_noselect]
textflagsactive = [tf_noselect]
caretwidth = 0
reffontheight = 14
end
object tstringgrid1: tstringgrid
cursor = cr_pointinghand
frame.sbvert.buttonminlength = 30
frame.sbvert.buttonendlength = -1
frame.sbvert.facebutton.template = mainfo.f_buttons
frame.sbvert.facebutton.dummy = 0
frame.sbvert.framebutton.template = mainfo.fr_buttons
frame.sbvert.framebutton.dummy = 0
frame.template = mainfo.fr_text_with_border
bounds_x = 8
bounds_y = 2
bounds_cx = 130
bounds_cy = 180
anchors = [an_left, an_top, an_bottom]
datacols.count = 2
datacols.linecolor = -1610612731
datacols.options = [co_readonly, co_rowselect, co_savevalue, co_savestate, co_mousescrollrow]
datacols.textflagsactive = [tf_ycentered, tf_noselect]
datacols.items = <
item
linecolor = -1610612731
width = 126
options = [co_readonly, co_rowselect, co_fill, co_savevalue, co_savestate, co_mousescrollrow]
textflagsactive = [tf_ycentered, tf_noselect]
datalist.data = (
'Home'
'Temp'
'App Home'
'Programs'
)
valuefalse = '0'
valuetrue = '1'
end
item
linewidth = 0
linecolor = -1610612731
width = 1
options = [co_readonly, co_rowselect, co_savevalue, co_savestate, co_mousescrollrow]
widthmin = 0
textflagsactive = [tf_ycentered, tf_noselect]
datalist.data = (
''
''
''
''
)
valuefalse = '0'
valuetrue = '1'
end>
rowcount = 4
datarowlinecolor = -1610612731
caretwidth = 0
oncellevent = on_cellevent
reffontheight = 14
end
object tbooleanedit1: tbooleanedit
frame.caption = 'Preview'
frame.template = mainfo.fr_text_with_border
frame.dummy = 0
frame.outerframe = (
0
1
50
2
)
taborder = 4
bounds_x = 12
bounds_y = 192
bounds_cx = 63
bounds_cy = 16
anchors = [an_left, an_bottom]
end
end
object sort: tbutton
optionswidget1 = [ow1_autowidth, ow1_autoheight]
optionswidget = [ow_tabfocus, ow_arrowfocus, ow_arrowfocusin, ow_arrowfocusout, ow_destroywidgets]
frame.template = mainfo.fr_buttons
frame.dummy = 0
face.template = mainfo.f_buttons
face.dummy = 0
taborder = 11
bounds_x = 560
bounds_y = 3
bounds_cx = 38
bounds_cy = 22
bounds_cxmin = 35
anchors = [an_top, an_right]
state = [as_localcaption, as_localonexecute]
caption = '&Sort'
options = [bo_executeonclick, bo_executeonkey, bo_executeonshortcut, bo_executedefaultonenterkey, bo_candefocuswindow]
onexecute = on_showsort
end
object tspacer5: tspacer
taborder = 12
bounds_x = 550
bounds_y = 0
bounds_cx = 10
bounds_cy = 26
linkleft = createdir
linkright = sort
options = [spao_glueright]
end
object tpopupmenu1: tpopupmenu
frametemplate = mainfo.fr_panels
itemframetemplate = mainfo.fr_mainbuttons
itemfacetemplateactive = mainfo.f_buttons
menu.submenu.count = 4
menu.submenu.items = <
item
caption = 'by name'
state = [as_checked, as_localchecked, as_localcaption, as_localonexecute]
options = [mao_radiobutton, mao_shortcutcaption]
onexecute = on_sortbyname
end
item
caption = 'by time'
state = [as_localcaption, as_localonexecute]
options = [mao_radiobutton, mao_shortcutcaption]
onexecute = on_sortbytime
end
item
caption = 'by type'
state = [as_localcaption, as_localonexecute]
options = [mao_radiobutton, mao_shortcutcaption]
onexecute = on_sortbytype
end
item
caption = 'by size'
state = [as_localcaption, as_localonexecute]
options = [mao_radiobutton, mao_shortcutcaption]
onexecute = on_sortbysize
end>
left = 152
top = 32
end
end