ba1400.cpp Corrette indentazioni
ba1400a.uml Corretto MI6302 risistemando la dimensione delle colonne git-svn-id: svn://10.65.10.50/trunk@5593 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
fe06139042
commit
d3bc8d6fc8
@ -23,7 +23,7 @@ class TSet_users : public TRelation_application
|
||||
virtual bool changing_mask(int mode) { return FALSE;}
|
||||
virtual TRelation* get_relation() const { return _rel;}
|
||||
virtual int read(TMask& m);
|
||||
void put_in_record(const TMask& m);
|
||||
void put_in_record(const TMask& m);
|
||||
virtual int write(const TMask& m);
|
||||
virtual int rewrite(const TMask& m);
|
||||
virtual bool remove();
|
||||
@ -43,13 +43,12 @@ public:
|
||||
};
|
||||
|
||||
bool TSet_users::user_handler(TMask_field& f, KEY key)
|
||||
|
||||
{
|
||||
if (!f.mask().query_mode() || !f.to_check(key)) return TRUE;
|
||||
|
||||
if (!f.mask().query_mode() || !f.to_check(key))
|
||||
return TRUE;
|
||||
const bool ok = f.get().find(' ') < 0;
|
||||
|
||||
if (!ok) return f.error_box("Il nome dell'utente non deve contenere spazi");
|
||||
if (!ok)
|
||||
return f.error_box("Il nome dell'utente non deve contenere spazi");
|
||||
return ok;
|
||||
}
|
||||
|
||||
@ -84,8 +83,6 @@ void TSet_users::build_sheet(TMask& m, const TRelation* r)
|
||||
else riga.add(" ");
|
||||
riga.add(module);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void TSet_users::enable_aut(TMask& m)
|
||||
@ -134,7 +131,6 @@ bool TSet_users::user_create()
|
||||
}
|
||||
|
||||
int TSet_users::read(TMask& m)
|
||||
|
||||
{
|
||||
TRelation_application::read(m);
|
||||
const TRelation *r = get_relation();
|
||||
|
@ -38,7 +38,7 @@ SPREADSHEET F_MODULI 78
|
||||
BEGIN
|
||||
PROMPT 0 5 "Moduli"
|
||||
ITEM "Modulo@40"
|
||||
ITEM "Abilitato@C"
|
||||
ITEM "Abilitato"
|
||||
ITEM "Codice"
|
||||
END
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user