Corretti errori minori
git-svn-id: svn://10.65.10.50/trunk@3327 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b6cded076b
commit
c495a28531
@ -165,6 +165,7 @@ void TCaus_app::carica_righe_libere(int from)
|
|||||||
{
|
{
|
||||||
if (curr_mask().is_running())
|
if (curr_mask().is_running())
|
||||||
ss().force_update();
|
ss().force_update();
|
||||||
|
ss().select(0);
|
||||||
_last_descr = _tipo_des;
|
_last_descr = _tipo_des;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -87,6 +87,7 @@ BEGIN
|
|||||||
CHECKTYPE NORMAL
|
CHECKTYPE NORMAL
|
||||||
MESSAGE DIRTY,106|DIRTY,206|DIRTY,306
|
MESSAGE DIRTY,106|DIRTY,206|DIRTY,306
|
||||||
WARNING "Conto inesistente o mancante sulla riga contabile"
|
WARNING "Conto inesistente o mancante sulla riga contabile"
|
||||||
|
ADD RUN cg0 -0
|
||||||
END
|
END
|
||||||
|
|
||||||
NUMBER CG_SOTTOCONTO 6
|
NUMBER CG_SOTTOCONTO 6
|
||||||
|
@ -134,17 +134,17 @@ void Visliq_app::build_ditte_sheet()
|
|||||||
{
|
{
|
||||||
// build sheet
|
// build sheet
|
||||||
_ditte->destroy();
|
_ditte->destroy();
|
||||||
|
long prima = -1;
|
||||||
|
|
||||||
for (int i = 0; i < _nomiditte.items(); i++)
|
for (int i = 0; i < _nomiditte.items(); i++)
|
||||||
{
|
{
|
||||||
TToken_string* d = new TToken_string(64);
|
TToken_string* d = new TToken_string(_nomiditte.row(i));
|
||||||
*d = (TToken_string&)_nomiditte[i];
|
|
||||||
const char vers = d->get_char(2);
|
|
||||||
bool selectable = vers == '?';
|
|
||||||
const long pos = _ditte->add(d);
|
const long pos = _ditte->add(d);
|
||||||
if (selectable)
|
const char vers = d->get_char(2);
|
||||||
_ditte->disable_row(pos);
|
const bool selectable = vers != '?';
|
||||||
else
|
_ditte->enable_row(pos, selectable);
|
||||||
_ditte->enable_row(pos);
|
if (selectable && prima < 0)
|
||||||
|
_ditte->select(prima = pos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ class Visliq_app : public TApplication
|
|||||||
|
|
||||||
TRelation* _nditte;
|
TRelation* _nditte;
|
||||||
TArray_sheet* _ditte;
|
TArray_sheet* _ditte;
|
||||||
TArray _nomiditte;
|
TString_array _nomiditte;
|
||||||
|
|
||||||
TTable* _lim;
|
TTable* _lim;
|
||||||
TTable* _lam;
|
TTable* _lam;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
TOOLBAR "" 0 20 0 2
|
TOOLBAR "" 0 20 0 2
|
||||||
|
|
||||||
BUTTON DLG_SAVEREC 8 2
|
BUTTON DLG_SAVEREC 10 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -13 -1 "~Registra"
|
PROMPT -13 -1 "~Registra"
|
||||||
PICTURE BMP_SAVEREC
|
PICTURE BMP_SAVEREC
|
||||||
@ -10,12 +10,12 @@ PICTURE BMP_SAVERECDN
|
|||||||
MESSAGE EXIT,K_SAVE
|
MESSAGE EXIT,K_SAVE
|
||||||
END
|
END
|
||||||
|
|
||||||
BUTTON DLG_CANCEL 8 2
|
BUTTON DLG_CANCEL 10 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -23 -1 ""
|
PROMPT -23 -1 ""
|
||||||
END
|
END
|
||||||
|
|
||||||
BUTTON DLG_QUIT 8 2
|
BUTTON DLG_QUIT 10 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -33 -1 ""
|
PROMPT -33 -1 ""
|
||||||
MESSAGE EXIT,K_QUIT
|
MESSAGE EXIT,K_QUIT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user