Corretto acquisto del focus da parte degli sheet

git-svn-id: svn://10.65.10.50/trunk@2494 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1996-01-23 14:40:20 +00:00
parent e16bf87c4b
commit 34765dc516

View File

@ -1004,7 +1004,17 @@ void TSpreadsheet::list_handler(XI_EVENT *xiev)
_firstfocus = FALSE; _firstfocus = FALSE;
} }
else else
mask().set_focus_win(win(), FALSE); {
TMask_field& prev = mask().focus_field();
if (prev.test_focus_change())
mask().set_focus_win(win(), FALSE);
else
{
xiev->refused = TRUE;
mask().set_focus();
}
}
break; break;
case XIE_OFF_LIST: case XIE_OFF_LIST:
on_idle(); on_idle();