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
This commit is contained in:
parent
bb2ea6917a
commit
805b36666a
@ -526,13 +526,15 @@ bool TLiquidazione_app::to_ditt_handler(TMask_field& f, KEY key)
|
|||||||
TArray_sheet* sh = app().get_ditte_sheet();
|
TArray_sheet* sh = app().get_ditte_sheet();
|
||||||
TMask& m = f.mask();
|
TMask& m = f.mask();
|
||||||
|
|
||||||
sh->disable_check();
|
sh->disable_check();
|
||||||
|
sh->disable(DLG_USER);
|
||||||
if (sh->run() == K_ENTER)
|
if (sh->run() == K_ENTER)
|
||||||
{
|
{
|
||||||
app().select_firm_range(m.get_long(CG43_FLD_DFR),sh->row(sh->selected()).get_long(1),
|
app().select_firm_range(m.get_long(CG43_FLD_DFR),sh->row(sh->selected()).get_long(1),
|
||||||
(wht)m.get_int(CG43_RDB_VERS));
|
(wht)m.get_int(CG43_RDB_VERS));
|
||||||
app().set_choice_limits(m);
|
app().set_choice_limits(m);
|
||||||
}
|
}
|
||||||
|
sh->enable(DLG_USER);
|
||||||
}
|
}
|
||||||
if (key == K_TAB && f.focusdirty())
|
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();
|
TArray_sheet* sh = ((TLiquidazione_app&)main_app()).get_ditte_sheet();
|
||||||
|
|
||||||
sh->disable_check();
|
sh->disable_check();
|
||||||
|
sh->disable(DLG_USER);
|
||||||
if (sh->run() == K_ENTER)
|
if (sh->run() == K_ENTER)
|
||||||
{
|
{
|
||||||
app().select_firm_range(sh->row(sh->selected()).get_long(1), m.get_long(CG43_FLD_DTO),
|
app().select_firm_range(sh->row(sh->selected()).get_long(1), m.get_long(CG43_FLD_DTO),
|
||||||
(wht)m.get_int(CG43_RDB_VERS));
|
(wht)m.get_int(CG43_RDB_VERS));
|
||||||
app().set_choice_limits(m);
|
app().set_choice_limits(m);
|
||||||
}
|
}
|
||||||
}
|
sh->enable(DLG_USER);
|
||||||
|
}
|
||||||
else if (key == K_TAB && f.focusdirty())
|
else if (key == K_TAB && f.focusdirty())
|
||||||
{
|
{
|
||||||
const long l = app().select_firm_range(m.get_long(CG43_FLD_DFR),
|
const long l = app().select_firm_range(m.get_long(CG43_FLD_DFR),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user