Aggiornato menu.

git-svn-id: svn://10.65.10.50/trunk@363 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1994-10-14 09:44:54 +00:00
parent 6c6f250fd6
commit 2a92302955
3 changed files with 13 additions and 7 deletions

View File

@ -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";

View File

@ -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

View File

@ -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