mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
.uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@2986 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
c71b6f56e9
commit
8a6e4ea4d2
1 changed files with 29 additions and 29 deletions
|
|
@ -1,29 +1,29 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
SetDefaultCharset(CHARSET_UTF8);
|
||||
FileSel fs;
|
||||
String fn;
|
||||
fs.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));
|
||||
}
|
||||
}
|
||||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
SetDefaultCharset(CHARSET_UTF8);
|
||||
FileSel fs;
|
||||
String fn;
|
||||
fs.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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue