mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
32 lines
766 B
C++
32 lines
766 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
SetDefaultCharset(CHARSET_UTF8);
|
|
FileSel fs;
|
|
String fn;
|
|
// fs.BaseDir("U:\\");
|
|
fs
|
|
.Type( t_("exe"), "*.exe") //type 1
|
|
.AllFilesType()
|
|
.Type( t_("archive FIDE (txt)"), "*.txt") //type 1
|
|
.Type( t_("archive VEG (csv)"), "*.csv;*.veg") //type 2
|
|
.Type( t_("national archive with Fixed Length (txt)"), "*.txt") //type 3
|
|
.Type( t_("archive FSI Italy (csv)"), "*.csv"); //type 4
|
|
fs.DefaultExt("hhh");
|
|
|
|
// fs.NoMkDirOption();
|
|
// fs.Multi();
|
|
// fs.ActiveDir("/usr/include");
|
|
// fs.NoEditFileName();
|
|
// fs.ActiveDir("u:\\");
|
|
// fs.PreSelect("U:/log.txt");
|
|
// fs.ActiveType(3);
|
|
for(;;) {
|
|
if(!fs.ExecuteSaveAs())
|
|
break;
|
|
PromptOK(DeQtf(~fs));
|
|
}
|
|
}
|