Tolto bottone cancel dalle progind ed aggiustate bitmap bottoni
git-svn-id: svn://10.65.10.50/trunk@2815 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a7011674fe
commit
e8fd3c806b
@ -509,11 +509,13 @@ void TManutenzione_app::delete_riga ()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TManutenzione_app::update_dir()
|
#include <windows.h>
|
||||||
|
|
||||||
|
void TManutenzione_app::update_dir()
|
||||||
{
|
{
|
||||||
const TString pref(prefix().name());
|
const TString pref(prefix().name());
|
||||||
const bool is_com = prefix().is_com();
|
const bool is_com = prefix().is_com();
|
||||||
|
TString desc(256), s(256);
|
||||||
|
|
||||||
prefix().set("");
|
prefix().set("");
|
||||||
|
|
||||||
@ -525,14 +527,14 @@ void TManutenzione_app::update_dir()
|
|||||||
|
|
||||||
d.get(LF_DIR);
|
d.get(LF_DIR);
|
||||||
const int items = (int)d.eod();
|
const int items = (int)d.eod();
|
||||||
TString80 s("Aggiornamento direttorio ");
|
|
||||||
|
|
||||||
|
s = "Aggiornamento direttorio ";
|
||||||
if (is_com) s << "comune";
|
if (is_com) s << "comune";
|
||||||
else s << " della ditta " << atol (pref);
|
else s << " della ditta " << atol (pref);
|
||||||
|
|
||||||
TProgind p(items ? items : 1, s, TRUE, TRUE, 70);
|
TProgind p(items ? items : 1, s, FALSE, TRUE, 70);
|
||||||
|
|
||||||
p.setstatus(1);
|
p.setstatus(1);
|
||||||
|
|
||||||
for (int i = 2; i <= items; i++)
|
for (int i = 2; i <= items; i++)
|
||||||
{
|
{
|
||||||
p.addstatus(1);
|
p.addstatus(1);
|
||||||
@ -540,8 +542,8 @@ void TManutenzione_app::update_dir()
|
|||||||
d.get(i, _nolock, _nordir, _sysdirop);
|
d.get(i, _nolock, _nordir, _sysdirop);
|
||||||
bool is_firm = d.is_firm();
|
bool is_firm = d.is_firm();
|
||||||
bool to_create = (is_com ? d.is_com() : d.is_firm());
|
bool to_create = (is_com ? d.is_com() : d.is_firm());
|
||||||
TString desc(d.des());
|
desc = d.des();
|
||||||
TString s(d.name());
|
s = d.name();
|
||||||
bool towrite = FALSE;
|
bool towrite = FALSE;
|
||||||
|
|
||||||
long flags = d.flags();
|
long flags = d.flags();
|
||||||
@ -739,13 +741,13 @@ void TManutenzione_app::convert_dir()
|
|||||||
|
|
||||||
d.get(LF_DIR);
|
d.get(LF_DIR);
|
||||||
const int items = (int)d.eod();
|
const int items = (int)d.eod();
|
||||||
TString80 s("Aggiornamento archivi ");
|
|
||||||
|
|
||||||
|
TString s(256);
|
||||||
|
s = "Aggiornamento archivi ";
|
||||||
if (is_com) s << "comuni";
|
if (is_com) s << "comuni";
|
||||||
else s << " della ditta " << atol (pref);
|
else s << " della ditta " << atol (pref);
|
||||||
|
|
||||||
TProgind p(items ? items : 1, s, TRUE, TRUE, 70);
|
TProgind p(items ? items : 1, s, FALSE, TRUE, 70);
|
||||||
|
|
||||||
p.setstatus(1);
|
p.setstatus(1);
|
||||||
|
|
||||||
for (int i = 2; i <= items; i++)
|
for (int i = 2; i <= items; i++)
|
||||||
@ -793,6 +795,7 @@ void TManutenzione_app::convert_dir()
|
|||||||
r.put(i);
|
r.put(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
prefix().set("");
|
prefix().set("");
|
||||||
const long level = prefix().filelevel();
|
const long level = prefix().filelevel();
|
||||||
prefix().set(pref);
|
prefix().set(pref);
|
||||||
@ -886,7 +889,7 @@ void TManutenzione_app::update()
|
|||||||
do_events();
|
do_events();
|
||||||
}
|
}
|
||||||
|
|
||||||
utenti.put("USER", "PRASSI");
|
utenti.put("USERNAME", "PRASSI");
|
||||||
if (utenti.read() == NOERR)
|
if (utenti.read() == NOERR)
|
||||||
{
|
{
|
||||||
utenti.zero("AUTSTR");
|
utenti.zero("AUTSTR");
|
||||||
|
@ -1,40 +1,41 @@
|
|||||||
#include <defmask.h>
|
|
||||||
#include "ba1100a.h"
|
#include "ba1100a.h"
|
||||||
|
|
||||||
TOOLBAR "" 0 20 0 2
|
TOOLBAR "" 0 20 0 2
|
||||||
|
|
||||||
BUTTON DLG_SAVEREC 8 2
|
BUTTON DLG_SAVEREC 10 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -15 -1 ""
|
PROMPT -15 -1 ""
|
||||||
MESSAGE EXIT,K_SAVE
|
MESSAGE EXIT,K_SAVE
|
||||||
|
PICTURE 103
|
||||||
|
PICTURE 153
|
||||||
END
|
END
|
||||||
|
|
||||||
BUTTON DLG_PRINT 8 2
|
BUTTON DLG_PRINT 10 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -25 -1 "~Stampa"
|
PROMPT -25 -1 "~Stampa"
|
||||||
MESSAGE EXIT,K_ENTER
|
MESSAGE EXIT,K_ENTER
|
||||||
END
|
END
|
||||||
|
|
||||||
BUTTON DLG_EXPORT 8 2
|
BUTTON DLG_EXPORT 10 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -35 -1 "~Esporta"
|
PROMPT -35 -1 "~Esporta"
|
||||||
MESSAGE EXIT,K_F6
|
MESSAGE EXIT,K_F6
|
||||||
END
|
END
|
||||||
|
|
||||||
BUTTON DLG_IMPORT 8 2
|
BUTTON DLG_IMPORT 10 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -45 -1 "~Importa"
|
PROMPT -45 -1 "~Importa"
|
||||||
MESSAGE EXIT,K_F7
|
MESSAGE EXIT,K_F7
|
||||||
END
|
END
|
||||||
|
|
||||||
BUTTON DLG_CANCEL 8 2
|
BUTTON DLG_CANCEL 10 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -55 -1 ""
|
PROMPT -55 -1 ""
|
||||||
END
|
END
|
||||||
|
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
|
||||||
PAGE "Modifica Tracciato Record - Campi" -1 -1 77 20
|
PAGE "Tracciato Record" -1 -1 77 20
|
||||||
|
|
||||||
NUMBER F_NUM 4
|
NUMBER F_NUM 4
|
||||||
BEGIN
|
BEGIN
|
||||||
@ -78,7 +79,7 @@ BEGIN
|
|||||||
HELP "Nome del campo"
|
HELP "Nome del campo"
|
||||||
END
|
END
|
||||||
|
|
||||||
LIST FLD_TIPO 20
|
LIST FLD_TIPO 24
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 2 3 "Tipo "
|
PROMPT 2 3 "Tipo "
|
||||||
HELP "Tipo del campo"
|
HELP "Tipo del campo"
|
||||||
|
@ -4,10 +4,8 @@
|
|||||||
|
|
||||||
#include <expr.h>
|
#include <expr.h>
|
||||||
#include <isam.h>
|
#include <isam.h>
|
||||||
#include <mask.h>
|
|
||||||
#include <msksheet.h>
|
#include <msksheet.h>
|
||||||
#include <progind.h>
|
#include <progind.h>
|
||||||
#include <sheet.h>
|
|
||||||
#include <utility.h>
|
#include <utility.h>
|
||||||
#include <validate.h>
|
#include <validate.h>
|
||||||
|
|
||||||
@ -76,7 +74,7 @@ void TDir_sheet::get_row(long n, TToken_string& l)
|
|||||||
l.add(_dir->name());
|
l.add(_dir->name());
|
||||||
l.add(_dir->eod());
|
l.add(_dir->eod());
|
||||||
l.add(_dir->eox());
|
l.add(_dir->eox());
|
||||||
l.add(format("%u", _dir->len()));
|
l.add((long)_dir->len());
|
||||||
l.add(_dir->des());
|
l.add(_dir->des());
|
||||||
l.add(_dir->expr());
|
l.add(_dir->expr());
|
||||||
l.add(_dir->flags());
|
l.add(_dir->flags());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user