From 805b36666a00e15dfc1605ceb1d7b9e649b04b31 Mon Sep 17 00:00:00 2001 From: angelo Date: Thu, 20 Jun 1996 16:00:46 +0000 Subject: [PATCH] Aggiunta la disabilitazione del pulsante "Tutti" in caso di ricerca Da-A. git-svn-id: svn://10.65.10.50/trunk@3045 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg4300.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cg/cg4300.cpp b/cg/cg4300.cpp index a9a76a154..987df97db 100755 --- a/cg/cg4300.cpp +++ b/cg/cg4300.cpp @@ -526,13 +526,15 @@ bool TLiquidazione_app::to_ditt_handler(TMask_field& f, KEY key) TArray_sheet* sh = app().get_ditte_sheet(); TMask& m = f.mask(); - sh->disable_check(); + sh->disable_check(); + sh->disable(DLG_USER); if (sh->run() == K_ENTER) { app().select_firm_range(m.get_long(CG43_FLD_DFR),sh->row(sh->selected()).get_long(1), (wht)m.get_int(CG43_RDB_VERS)); app().set_choice_limits(m); } + sh->enable(DLG_USER); } if (key == K_TAB && f.focusdirty()) { @@ -554,13 +556,15 @@ bool TLiquidazione_app::fr_ditt_handler(TMask_field& f, KEY key) TArray_sheet* sh = ((TLiquidazione_app&)main_app()).get_ditte_sheet(); sh->disable_check(); + sh->disable(DLG_USER); if (sh->run() == K_ENTER) { app().select_firm_range(sh->row(sh->selected()).get_long(1), m.get_long(CG43_FLD_DTO), (wht)m.get_int(CG43_RDB_VERS)); app().set_choice_limits(m); } - } + sh->enable(DLG_USER); + } else if (key == K_TAB && f.focusdirty()) { const long l = app().select_firm_range(m.get_long(CG43_FLD_DFR),