Patch level : 2.1 78
Files correlati : ba0.exe Ricompilazione Demo : [ ] Commento : AO21002 Se da questa videata vado su File - Impostazione Stampante e cambio le impostazioni, non ne tiene conto in quanto se esco dalla videata vedo che c'è impostata ancora la vecchia stampante. Nb ERA COSI ANCHE SULLA 1,07 git-svn-id: svn://10.65.10.50/trunk@12221 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
798e8cfb17
commit
4f6e201dd2
@ -1,10 +1,9 @@
|
||||
#include <applicat.h>
|
||||
#include <config.h>
|
||||
#include <currency.h>
|
||||
#include <dongle.h>
|
||||
#include <execp.h>
|
||||
#include <mask.h>
|
||||
#include <prefix.h>
|
||||
#include <printer.h>
|
||||
#include <relation.h>
|
||||
#include <utility.h>
|
||||
|
||||
@ -19,9 +18,10 @@
|
||||
bool sys_dll_changed()
|
||||
{
|
||||
TString_array list;
|
||||
list_files("*.ex_", list);
|
||||
list_files("*.dl_", list);
|
||||
return list.items() > 0;
|
||||
int k = list_files("*.dl_", list);
|
||||
if (k == 0)
|
||||
k = list_files("*.ex_", list);
|
||||
return k > 0;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
@ -319,7 +319,8 @@ bool TMenuitem::perform_program() const
|
||||
const bool install_app = _action.starts_with("ba1 -6", TRUE);
|
||||
if (install_app && sys_dll_changed())
|
||||
dispatch_e_char(cur_win(), K_QUIT);
|
||||
//main_app().stop_run();
|
||||
|
||||
printer_destroy(); // Forza rilettura parametri della stampante
|
||||
}
|
||||
|
||||
return ok;
|
||||
|
@ -149,7 +149,7 @@ ENDMASK
|
||||
|
||||
PAGE "Proprieta'" -1 -1 70 10
|
||||
|
||||
LIST 101 1 10
|
||||
LIST 101 1 16
|
||||
BEGIN
|
||||
PROMPT 1 1 ""
|
||||
ITEM " |Azione"
|
||||
@ -160,6 +160,8 @@ BEGIN
|
||||
MESSAGE DISABLE,102|ENABLE,103|"Lettura",102
|
||||
ITEM "S|Scrittura"
|
||||
MESSAGE DISABLE,102|ENABLE,103|"Scrittura",102
|
||||
ITEM "E|Eliminazione"
|
||||
MESSAGE DISABLE,102|ENABLE,103|"Eliminazione",102
|
||||
END
|
||||
|
||||
STRING 102 16
|
||||
|
@ -725,7 +725,9 @@ void TReport_window::handler(WINDOW win, EVENT* ep)
|
||||
{
|
||||
case E_MOUSE_DOWN:
|
||||
_pt_click = ep->v.mouse.where;
|
||||
if (ep->v.mouse.button == 0)
|
||||
switch (ep->v.mouse.button)
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
const TPoint pt = dev2log(_pt_click);
|
||||
TRectangle rct;
|
||||
@ -768,9 +770,12 @@ void TReport_window::handler(WINDOW win, EVENT* ep)
|
||||
draw_dragster();
|
||||
xvt_win_trap_pointer(win);
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
case 1:
|
||||
popup_menu();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
owner().mask().notify_focus_field(owner().dlg());
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user