Spostamento convocazioni: aggiunto bottone AZZERA (resetta la maschera)
Patch level : Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/trunk@6366 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
11285fc803
commit
fbfdb099e5
@ -90,8 +90,13 @@ bool TSpostamentoConv::preprocess_page(int file, int counter)
|
|||||||
bool TSpostamentoConv::set_print(int m)
|
bool TSpostamentoConv::set_print(int m)
|
||||||
{
|
{
|
||||||
_stampa = FALSE;
|
_stampa = FALSE;
|
||||||
KEY tasto;
|
KEY tasto = F_AZZERA;
|
||||||
|
while (tasto == F_AZZERA)
|
||||||
|
{
|
||||||
tasto = _msk->run();
|
tasto = _msk->run();
|
||||||
|
if (tasto == F_AZZERA)
|
||||||
|
_msk->reset();
|
||||||
|
}
|
||||||
if (tasto == F_STAMPA)
|
if (tasto == F_STAMPA)
|
||||||
_stampa = TRUE;
|
_stampa = TRUE;
|
||||||
if (tasto != K_QUIT)
|
if (tasto != K_QUIT)
|
||||||
|
@ -15,3 +15,4 @@
|
|||||||
#define F_SPOSTAAL 112
|
#define F_SPOSTAAL 112
|
||||||
#define F_SPOSTATI 113
|
#define F_SPOSTATI 113
|
||||||
#define F_STAMPA 201
|
#define F_STAMPA 201
|
||||||
|
#define F_AZZERA 202
|
||||||
|
@ -2,21 +2,27 @@
|
|||||||
|
|
||||||
TOOLBAR "" 0 20 0 2
|
TOOLBAR "" 0 20 0 2
|
||||||
|
|
||||||
BUTTON F_STAMPA 9 2
|
BUTTON F_STAMPA 20 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -13 -11 "~Stampa"
|
PROMPT -14 -11 "Conferma e ~Stampa"
|
||||||
MESSAGE EXIT,F_STAMPA
|
MESSAGE EXIT,F_STAMPA
|
||||||
END
|
END
|
||||||
|
|
||||||
BUTTON DLG_OK 9 2
|
BUTTON DLG_OK 9 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -23 -11 ""
|
PROMPT -24 -11 ""
|
||||||
MESSAGE EXIT,K_ENTER
|
MESSAGE EXIT,K_ENTER
|
||||||
END
|
END
|
||||||
|
|
||||||
|
BUTTON F_AZZERA 9 2
|
||||||
|
BEGIN
|
||||||
|
PROMPT -34 -11 "~Azzera"
|
||||||
|
MESSAGE EXIT,F_AZZERA
|
||||||
|
END
|
||||||
|
|
||||||
BUTTON DLG_QUIT 9 2
|
BUTTON DLG_QUIT 9 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT -33 -11 ""
|
PROMPT -44 -11 ""
|
||||||
END
|
END
|
||||||
|
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user