Patch level : 10.0
Files correlati : ba8.exe ba8300d.msk Ricompilazione Demo : [ ] Commento : Aggiunto bottone per memorizzare stampante associata ad un report git-svn-id: svn://10.65.10.50/trunk@17075 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
cf0236f7ff
commit
cf8467061e
@ -304,6 +304,7 @@ bool TReport_properties_mask::on_field_event(TOperable_field& o, TField_event e,
|
|||||||
void TReport_properties_mask::set_report(const TReport& r)
|
void TReport_properties_mask::set_report(const TReport& r)
|
||||||
{
|
{
|
||||||
set(F_FONT_AUTO, r.use_printer_font());
|
set(F_FONT_AUTO, r.use_printer_font());
|
||||||
|
set(F_SAVE_PRINTER, r.save_last_printer());
|
||||||
set(F_ORIENTATION, r.orientation());
|
set(F_ORIENTATION, r.orientation());
|
||||||
set(F_DX, r.user_defined_cpi());
|
set(F_DX, r.user_defined_cpi());
|
||||||
|
|
||||||
@ -334,6 +335,7 @@ void TReport_properties_mask::get_report(TReport& r) const
|
|||||||
r.set_font(f);
|
r.set_font(f);
|
||||||
}
|
}
|
||||||
r.set_orientation(get_int(F_ORIENTATION));
|
r.set_orientation(get_int(F_ORIENTATION));
|
||||||
|
r.set_save_last_printer(get_bool(F_SAVE_PRINTER));
|
||||||
r.set_class(get(F_CLASS));
|
r.set_class(get(F_CLASS));
|
||||||
r.set_command_line(get(F_COMMAND));
|
r.set_command_line(get(F_COMMAND));
|
||||||
|
|
||||||
|
@ -57,6 +57,7 @@
|
|||||||
#define F_COMMAND 171
|
#define F_COMMAND 171
|
||||||
#define F_PAGE_SPLIT 172
|
#define F_PAGE_SPLIT 172
|
||||||
#define F_PAGE_MERGE 173
|
#define F_PAGE_MERGE 173
|
||||||
|
#define F_SAVE_PRINTER 174
|
||||||
|
|
||||||
#define F_SQL 201
|
#define F_SQL 201
|
||||||
#define F_IMPORT_QRY 202
|
#define F_IMPORT_QRY 202
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "ba8300.h"
|
#include "ba8300.h"
|
||||||
|
|
||||||
PAGE "Report" -1 -1 60 16
|
PAGE "Report" -1 -1 60 18
|
||||||
|
|
||||||
RADIO F_ORIENTATION 1 24
|
RADIO F_ORIENTATION 1 24
|
||||||
BEGIN
|
BEGIN
|
||||||
@ -27,6 +27,11 @@ BEGIN
|
|||||||
MESSAGE TRUE DISABLE,F_FONT_SELECT|DISABLE,F_DY|DISABLE,F_DX
|
MESSAGE TRUE DISABLE,F_FONT_SELECT|DISABLE,F_DY|DISABLE,F_DX
|
||||||
END
|
END
|
||||||
|
|
||||||
|
BOOLEAN F_SAVE_PRINTER
|
||||||
|
BEGIN
|
||||||
|
PROMPT 26 4 "Memorizza ultima stampante utilizzata"
|
||||||
|
END
|
||||||
|
|
||||||
NUMBER F_DX 2
|
NUMBER F_DX 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 1 5 "Caratteri per pollice "
|
PROMPT 1 5 "Caratteri per pollice "
|
||||||
@ -34,16 +39,6 @@ BEGIN
|
|||||||
CHECKTYPE NORMAL
|
CHECKTYPE NORMAL
|
||||||
END
|
END
|
||||||
|
|
||||||
BOOLEAN F_PAGE_SPLIT
|
|
||||||
BEGIN
|
|
||||||
PROMPT 26 1 "Suddividi una pagina su piu' fogli"
|
|
||||||
END
|
|
||||||
|
|
||||||
BOOLEAN F_PAGE_MERGE
|
|
||||||
BEGIN
|
|
||||||
PROMPT 26 2 "Raggruppa piu' pagine in un foglio"
|
|
||||||
END
|
|
||||||
|
|
||||||
NUMBER F_DY 2
|
NUMBER F_DY 2
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 28 5 "Linee per pollice "
|
PROMPT 28 5 "Linee per pollice "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user