This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
sample_code:file_picker [2014/12/05 22:42] stevegarman updated for v1.15 |
sample_code:file_picker [2015/02/19 16:06] stevegarman [The code] |
||
---|---|---|---|
Line 8: | Line 8: | ||
See also [[sample_code: | See also [[sample_code: | ||
===== The code ===== | ===== The code ===== | ||
- | < | + | < |
// | // | ||
Line 76: | Line 76: | ||
var lst = app.ListFolder(folderPath); | var lst = app.ListFolder(folderPath); | ||
lst.sort(function(x, | lst.sort(function(x, | ||
- | // | ||
- | // | ||
var ths = lst.shift(); | var ths = lst.shift(); | ||
self.lstFolds.SetList("" | self.lstFolds.SetList("" |