Patch level :10.0 250

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
0001190: maschera ricerca profilo
Descrizione  ricercando il profilo dalla scheda provvigione, il bottone registra richiama la funzione esporta

In realtà questo errore vale per tutte le maschere con profili.


git-svn-id: svn://10.65.10.50/trunk@18407 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-03-03 14:53:17 +00:00
parent c69b68d456
commit 9467d6c6bf
4 changed files with 10 additions and 6 deletions

View File

@ -35,7 +35,9 @@
#define DLG_PDF 31 /* TAG del bottone Stampa PDF */
#define DLG_ARCHIVE 32 /* TAG del bottone Archiviazione */
#define DLG_INFO 33 /* TAG del bottone Informazioni */
#define DLG_HELP 34 /* TAG del bottone Informazioni */
#define DLG_HELP 34 /* TAG del bottone Help */
#define DLG_EXPORT 35 /* TAG del bottone Esporta*/
#define DLG_IMPORT 36 /* TAG del bottone Importa*/
#define DLG_USER 100 /* TAG del primo controllo definito dall'utente */
/* @M

View File

@ -2968,10 +2968,10 @@ int TProfile_select::get_descriptions(TString_array& a) const
KEY TProfile_select::run()
{
TArray_sheet p(3, 3, -3, -3, "Profili", "Codice@6R|Descrizione@60", 0x6, 2);
TArray_sheet p(3, 3, -3, -3, TR("Profili"), HR("Codice@6R|Descrizione@60"), 0x6, 2);
const short id = DLG_USER+1;
TEdit_field& prompt = p.add_string(id, 0, "Salva con nome ", 1, 0, 60);
p.add_button(DLG_SAVEREC, "~Registra", K_CTRL+'r', BMP_SAVEREC, BMP_SAVERECDN);
TEdit_field& prompt = p.add_string(id, 0, PR("Salva con nome "), 1, 0, 60);
p.add_button(DLG_SAVEREC, PR("~Registra"), K_CTRL+'r', TOOL_SAVEREC);
prompt.set(field().get());
TMask& m = field().mask();

View File

@ -1028,8 +1028,8 @@ TSheet::TSheet(short x, short y, short dx, short dy,
if (buttons & 0x02) add_button(DLG_NEWREC, TR("~Nuovo"), K_INS, BMP_NEWREC);
if (buttons & 0x04) add_button(DLG_DELREC, TR("~Elimina"), K_DEL, BMP_DELREC);
add_button(DLG_SAVEREC, TR("~Esporta"), 0, TOOL_EXPORT);
set_handler(DLG_SAVEREC, export_handler);
add_button(DLG_EXPORT, TR("~Esporta"), 0, TOOL_EXPORT);
set_handler(DLG_EXPORT, export_handler);
if (buttons & 0x08) add_button(DLG_QUIT, "Fine", K_ESC, BMP_QUIT);
else add_button(DLG_CANCEL, "Annulla", K_ESC, BMP_CANCEL);

View File

@ -86,6 +86,7 @@
#define BMP_3 138
#define BMP_EMAIL 139
#define BMP_EXPORT 151
#define BMP_IMPORT 152
#define BMP_SAVERECDN 153
#define BMP_DELRECDN 154
#define BMP_NEWRECDN 155
@ -138,6 +139,7 @@
#define TOOL_FINDREC 126
#define TOOL_EMAIL 139
#define TOOL_EXPORT 151
#define TOOL_IMPORT 152
#define TOOL_CONVERT 156
#define TOOL_INFO 162
#define TOOL_HELP 163