From 2a9230295545f893ce25e8a3c8bdebd6a8a4da15 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 14 Oct 1994 09:44:54 +0000 Subject: [PATCH] Aggiornato menu. git-svn-id: svn://10.65.10.50/trunk@363 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ba/ba0.cpp | 8 +++++++- ba/ba1100d.uml | 10 +++++----- ba/prassi.mnu | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/ba/ba0.cpp b/ba/ba0.cpp index 6fd0774e0..f5668f4b2 100755 --- a/ba/ba0.cpp +++ b/ba/ba0.cpp @@ -207,6 +207,11 @@ bool TMenu_application::menu_find_handler(TMask_field&f, KEY k) _find_button = TRUE; f.mask().stop_run(K_AUTO_ENTER); } + else + { + beep(); + return FALSE; + } } } return TRUE; @@ -245,7 +250,8 @@ int TMenu_application::do_level() menu.add_button(100+y, 0, t, x, y, 1, 1); menu.set_handler(100+y, menu_item_handler); } - menu.add_string(99, 0, "Cerca ", 1,-3, 32); + menu.add_static(-1, 0, "Cerca", 1,-3); + menu.add_string(99, 0, "", -12, -3, 50, "", bwidth+1); menu.set_handler(99, menu_find_handler); t = first ? "Menu precedente" : "Fine"; diff --git a/ba/ba1100d.uml b/ba/ba1100d.uml index bbabf959f..8e355887e 100755 --- a/ba/ba1100d.uml +++ b/ba/ba1100d.uml @@ -5,31 +5,31 @@ TOOLBAR "" 0 20 0 2 BUTTON DLG_SAVEREC 8 2 BEGIN - PROMPT -16 -1 "" + PROMPT -15 -1 "" MESSAGE EXIT,K_SAVE END BUTTON DLG_PRINT 8 2 BEGIN - PROMPT -26 -1 "Stampa" + PROMPT -25 -1 "Stampa" MESSAGE EXIT,K_F5 END BUTTON DLG_EXPORT 8 2 BEGIN - PROMPT -36 -1 "Esporta" + PROMPT -35 -1 "Esporta" MESSAGE EXIT,K_F6 END BUTTON DLG_IMPORT 8 2 BEGIN - PROMPT -46 -1 "Importa" + PROMPT -45 -1 "Importa" MESSAGE EXIT,K_F7 END BUTTON DLG_CANCEL 8 2 BEGIN - PROMPT -56 -1 "" + PROMPT -55 -1 "" END ENDPAGE diff --git a/ba/prassi.mnu b/ba/prassi.mnu index 7b62d972e..3d7714f7c 100755 --- a/ba/prassi.mnu +++ b/ba/prassi.mnu @@ -55,7 +55,6 @@ 4|Parametri di studio|cg5 -0 4|Gestione Libro Unico|14 5|Tabelle studio|1 -5|Tipi documento|ba3 -0 %tpd 5|Condizioni di pagamento|ba3 -0 %cpg 5|Classificazione pagamenti|ba3 -6 5|Descrizioni aggiuntive|ba3 -0 %dpn @@ -105,6 +104,7 @@ 9|Bilancio IV direttiva CEE|cg1 -5 9|Giornale|cg3 -3 10|IVA|2 +10|Parametri liquidazione|cg5 -3 10|Liquidazione|cg4 -2 10|Deleghe|ba3 -0 %del 10|Stampa deleghe|cg1 -3