Patch level : 10.0 210
Files correlati : ba1 ve0 Ricompilazione Demo : [ ] Commento : Aggiunto supporto per nuova icona Excel git-svn-id: svn://10.65.10.50/trunk@18910 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4849fae533
commit
7fabbb7e5f
@ -1016,23 +1016,23 @@ TSheet::TSheet(short x, short y, short dx, short dy,
|
||||
_sheet = qf->sheet();
|
||||
|
||||
if (!(buttons & 0x10))
|
||||
add_button(DLG_SELECT, TR("~Selezione"), K_ENTER, BMP_OK);
|
||||
add_button(DLG_SELECT, TR("~Selezione"), K_ENTER, TOOL_OK);
|
||||
|
||||
if (check_enabled())
|
||||
{
|
||||
add_button(DLG_USER, TR("~Tutti"), 0, BMP_SELECT);
|
||||
add_button(DLG_USER, TR("~Tutti"), 0, TOOL_MULTISEL);
|
||||
set_handler(DLG_USER, tutti_handler);
|
||||
}
|
||||
|
||||
if (buttons & 0x01) add_button(DLG_LINK, TR("Colle~ga"), K_CTRL+'G', BMP_LINK);
|
||||
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);
|
||||
if (buttons & 0x01) add_button(DLG_LINK, TR("Colle~ga"), K_CTRL+'G', TOOL_LINK);
|
||||
if (buttons & 0x02) add_button(DLG_NEWREC, TR("~Nuovo"), K_INS, TOOL_NEWREC);
|
||||
if (buttons & 0x04) add_button(DLG_DELREC, TR("~Elimina"), K_DEL, TOOL_DELREC);
|
||||
|
||||
add_button(DLG_EXPORT, TR("~Esporta"), 0, TOOL_EXPORT);
|
||||
add_button(DLG_EXPORT, TR("~Excel"), 0, TOOL_EXCEL);
|
||||
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);
|
||||
if (buttons & 0x08) add_button(DLG_QUIT, "Fine", K_ESC, TOOL_QUIT);
|
||||
else add_button(DLG_CANCEL, "Annulla", K_ESC, TOOL_CANCEL);
|
||||
|
||||
xvt_toolbar_realize(toolbar()); // Necessario per calcolare dimensioni corrette dello sheet
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user