From bf528f327e7c5e22dda47a15c3abd9853a924143 Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 29 Jul 1996 16:15:53 +0000 Subject: [PATCH] Corretto problema col focus col tasto F4 sulle ricerche git-svn-id: svn://10.65.10.50/trunk@3274 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/sheet.cpp | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/include/sheet.cpp b/include/sheet.cpp index 37f48c08f..f5489db6e 100755 --- a/include/sheet.cpp +++ b/include/sheet.cpp @@ -1086,11 +1086,24 @@ bool TBrowse_sheet::browse_field_handler(TMask_field& f, KEY k) bool TBrowse_sheet::last_browse_field_handler(TMask_field& f, KEY k) { const bool ok = browse_field_handler(f, k); - if (ok && k == K_TAB && _can_post) - { - _cur_browse->post_select(_cur_browse->selected()); - _can_post = FALSE; + if (ok) + { + if (k == K_TAB && _can_post) + { + _cur_browse->post_select(_cur_browse->selected()); + _can_post = FALSE; + } + else + { + if (k == K_CTRL+K_TAB) + { + RCT r; f.get_rect(r); + xvt_dwin_invalidate_rect(f.parent(), &r); + } + } } + + return ok; }