maskfld.cpp Corretto ordine degli hits nella do_output
msksheet.cpp Aggiunto off_cell_handler sul doppio click git-svn-id: svn://10.65.10.50/trunk@4918 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
ba13baa9e1
commit
c50f740fee
@ -2035,9 +2035,12 @@ void TBrowse::do_output(CheckTime t)
|
||||
TToken_string flds(24, '+');
|
||||
|
||||
const TRelation& relation = *_cursor->relation();
|
||||
|
||||
_out_fn.restart();
|
||||
for (const char* fld = _out_id.get(0); fld && *fld; fld = _out_id.get())
|
||||
|
||||
TBit_array spotted;
|
||||
|
||||
_out_fn.restart();
|
||||
const char* fld;
|
||||
for (fld = _out_id.get(0); fld && *fld; fld = _out_id.get())
|
||||
{
|
||||
const short id = field().atodlg(fld);
|
||||
TMask_field& f = field(id);
|
||||
@ -2075,11 +2078,25 @@ void TBrowse::do_output(CheckTime t)
|
||||
hit = TRUE;
|
||||
}
|
||||
}
|
||||
/*
|
||||
if (hit)
|
||||
{
|
||||
f.check();
|
||||
f.on_hit();
|
||||
}
|
||||
*/
|
||||
spotted.set(id, hit);
|
||||
}
|
||||
}
|
||||
|
||||
for (fld = _out_id.get(0); fld && *fld; fld = _out_id.get())
|
||||
{
|
||||
const short id = field().atodlg(fld);
|
||||
if (spotted[id])
|
||||
{
|
||||
TMask_field& f = field(id);
|
||||
f.check();
|
||||
f.on_hit();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1069,6 +1069,7 @@ bool TSpreadsheet::event_handler(XI_OBJ* itf, XI_EVENT *xiev)
|
||||
refused = TRUE;
|
||||
break;
|
||||
case XIE_DBL_CELL:
|
||||
if (off_cell_handler())
|
||||
{
|
||||
_check_enabled = FALSE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user