Patch level :10.0 / 4.0
Files correlati : Ricompilazione Demo : [ ] Commento :gestione anteprima/stampa migliorata git-svn-id: svn://10.65.10.50/trunk@16276 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
07bbb09403
commit
49e3cb3b9b
@ -1990,12 +1990,19 @@ bool TBook::preview()
|
||||
split_file_if_needed();
|
||||
|
||||
TPreview_mask msk(this);
|
||||
const KEY k = msk.run();
|
||||
switch (k)
|
||||
|
||||
//gestino anteprima di stampa;se si ha l'anteprima,una volta lanciata la maschera di stampa, si torna..
|
||||
//..all'anteprima e non alla maschera del programma (decisivo per stampe con elaborazione lunga)
|
||||
bool go_on = true;
|
||||
while (go_on)
|
||||
{
|
||||
case K_QUIT: break;
|
||||
case K_SAVE: esporta(); break;
|
||||
default : print(); break;
|
||||
const KEY k = msk.run();
|
||||
switch (k)
|
||||
{
|
||||
case K_QUIT: go_on = false; break;
|
||||
case K_SAVE: esporta(); break;
|
||||
default : print(); break;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user