Corretta gestione focus in uscita dalla maschero di uno sheet
git-svn-id: svn://10.65.10.50/trunk@87 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8861e06745
commit
e5c0f8978b
@ -1080,7 +1080,8 @@ void TMask::send_key(KEY key, short to) const
|
|||||||
fld(pos).on_key(key);
|
fld(pos).on_key(key);
|
||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
else
|
else
|
||||||
if (mode() != MODE_SEARCH) yesnofatal_box("Can't send key to field %d", to);
|
if (mode() != MODE_SEARCH)
|
||||||
|
yesnofatal_box("Can't send key %u to field %d", key, to);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -337,9 +337,9 @@ void TSpreadsheet::update(int row)
|
|||||||
{
|
{
|
||||||
xi_cell_request(_list);
|
xi_cell_request(_list);
|
||||||
xi_scroll(_list, XI_SCROLL_FIRST);
|
xi_scroll(_list, XI_SCROLL_FIRST);
|
||||||
XI_OBJ* itf = xi_get_itf(win());
|
// XI_OBJ* itf = xi_get_itf(win());
|
||||||
xi_set_focus(itf);
|
// xi_move_focus(itf);
|
||||||
// set_front_window(win());
|
set_front_window(win());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
update_rec(row);
|
update_rec(row);
|
||||||
@ -462,7 +462,7 @@ if (xiev->v.xi_obj->type == XIT_LIST)
|
|||||||
update_rec(_cur_row);
|
update_rec(_cur_row);
|
||||||
_row_dirty = TRUE;
|
_row_dirty = TRUE;
|
||||||
}
|
}
|
||||||
xi_set_focus(xiev->v.xi_obj);
|
set_focus_cell(_cur_row, _cur_col);
|
||||||
_check_enabled = TRUE;
|
_check_enabled = TRUE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user