Corretta gestione ceccamento

git-svn-id: svn://10.65.10.50/trunk@2912 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1996-05-27 11:18:43 +00:00
parent f8a011b2fe
commit 8f527d27da

View File

@ -618,6 +618,7 @@ bool TSheet_control::event_handler(XI_OBJ* itf, XI_EVENT *xiev)
const short cid = column[col]->cid;
if (cid >= FIRST_FIELD)
{
if (check_enabled())
toggle(rec);
// XI_OBJ cell; XI_MAKE_CELL(&cell, _obj, row, col);
// xi_cell_request(&cell);
@ -876,6 +877,7 @@ bool TSheet::tutti_handler(TMask_field& f, KEY k)
if (k == K_SPACE)
{
TSheet& s = (TSheet&)f.mask();
if (s.check_enabled())
s.check(-1, !s.one_checked());
}
return TRUE;