Patch level : 12.0 342
Files correlati : pa0.exe Agginto il bottone seleziona tutti all'invio fatture PA git-svn-id: svn://10.65.10.50/branches/R_10_00@23593 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
5d93073c2b
commit
9d541928e6
8
src/include/allbar.h
Normal file
8
src/include/allbar.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
BUTTON DLG_ALL 2 2
|
||||||
|
BEGIN
|
||||||
|
PROMPT 1 1 "~Tutti"
|
||||||
|
PICTURE TOOL_MULTISEL
|
||||||
|
END
|
||||||
|
|
||||||
|
#include <elabar.h>
|
||||||
|
|
@ -49,6 +49,7 @@
|
|||||||
#define DLG_COPY 45 /* TAG del bottone copia */
|
#define DLG_COPY 45 /* TAG del bottone copia */
|
||||||
#define DLG_PASTE 46 /* TAG del bottone incolla */
|
#define DLG_PASTE 46 /* TAG del bottone incolla */
|
||||||
#define DLG_BARCODE_TYPE 47 /* TAG del tipo codice a barre */
|
#define DLG_BARCODE_TYPE 47 /* TAG del tipo codice a barre */
|
||||||
|
#define DLG_ALL 48 /* TAG del bottone Tutti */
|
||||||
|
|
||||||
#define DLG_USER 100 /* TAG del primo controllo definito dall'utente */
|
#define DLG_USER 100 /* TAG del primo controllo definito dall'utente */
|
||||||
|
|
||||||
|
@ -1373,6 +1373,11 @@ void TButton_field::create(WINDOW parent)
|
|||||||
_ctl_data._bmp_up = BMP_SELECT;
|
_ctl_data._bmp_up = BMP_SELECT;
|
||||||
_exit_key = K_ENTER;
|
_exit_key = K_ENTER;
|
||||||
break;
|
break;
|
||||||
|
case DLG_ALL:
|
||||||
|
if (_ctl_data._bmp_up <= 0)
|
||||||
|
_ctl_data._bmp_up = BMP_SELECT;
|
||||||
|
_virtual_key = K_CTRL + 'T';
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -189,6 +189,9 @@ public:
|
|||||||
// @cmember Tronca la stringa alla posizione n-esima.
|
// @cmember Tronca la stringa alla posizione n-esima.
|
||||||
TString& cut(int n);
|
TString& cut(int n);
|
||||||
|
|
||||||
|
// @cmember Svouta la stringa.
|
||||||
|
TString& zap() { return cut(0); }
|
||||||
|
|
||||||
// @cmember Ritorna il buffer interno della stringa (usare con attenzione!)
|
// @cmember Ritorna il buffer interno della stringa (usare con attenzione!)
|
||||||
char* get_buffer(int min_size = -1);
|
char* get_buffer(int min_size = -1);
|
||||||
|
|
||||||
|
@ -131,6 +131,12 @@ void TButton_tool::create(WINDOW toolbar)
|
|||||||
_ctl_data._bmp_up = TOOL_MULTISEL;
|
_ctl_data._bmp_up = TOOL_MULTISEL;
|
||||||
set_exit_key(K_ENTER);
|
set_exit_key(K_ENTER);
|
||||||
break;
|
break;
|
||||||
|
case DLG_ALL:
|
||||||
|
if (_ctl_data._bmp_up <= 0)
|
||||||
|
_ctl_data._bmp_up = TOOL_MULTISEL;
|
||||||
|
_virtual_key = K_CTRL + 'T';
|
||||||
|
break;
|
||||||
|
|
||||||
case DLG_HELP:
|
case DLG_HELP:
|
||||||
if (_ctl_data._prompt.blank())
|
if (_ctl_data._prompt.blank())
|
||||||
_ctl_data._prompt = TR("Help");
|
_ctl_data._prompt = TR("Help");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user