Patch level : 2.2

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
Gestione classe e riga di comando nelle proprieta' del report


git-svn-id: svn://10.65.10.50/trunk@13234 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2005-06-29 09:50:57 +00:00
parent c52d20a09a
commit 123b776221
3 changed files with 26 additions and 10 deletions

View File

@ -757,6 +757,8 @@ void TReport_properties_mask::set_report(const TReport& r)
set(F_ORIENTATION, r.orientation());
set(F_DY, r.lpi());
set_font_info(r.font());
set(F_CLASS, r.get_class());
set(F_COMMAND, r.command_line());
set(F_INCLUDE, ((TReport&)r).get_libraries());
set(F_PRESCRIPT, r.prescript());
set(F_POSTSCRIPT, r.postscript());
@ -776,6 +778,8 @@ void TReport_properties_mask::get_report(TReport& r) const
r.set_font(f);
}
r.set_orientation(get_int(F_ORIENTATION));
r.set_class(get(F_CLASS));
r.set_command_line(get(F_COMMAND));
const TString& oldlib = r.get_libraries();
if (oldlib != get(F_INCLUDE))

View File

@ -54,6 +54,8 @@
#define F_FONT_AUTO 167
#define F_CAN_BREAK 168
#define F_ORIENTATION 169
#define F_CLASS 170
#define F_COMMAND 171
#define F_SQL 201
#define F_IMPORT_QRY 202

View File

@ -23,11 +23,26 @@ BEGIN
CHEKCTYPE REQUIRED
END
BUTTON F_FONT_SELECT 10 2
BUTTON F_FONT_SELECT 12 2
BEGIN
PROMPT 1 7 "~Font"
END
MEMO F_INCLUDE 57 3
BEGIN
PROMPT 1 9 "Librerie (separate da ,) "
END
STRING F_CLASS 8
BEGIN
PROMPT 42 9 "Classe "
END
STRING F_COMMAND 80 40
BEGIN
PROMPT 1 12 "Riga di comando "
END
BUTTON DLG_CANCEL 10 2
BEGIN
PROMPT -12 -1 ""
@ -63,19 +78,14 @@ ENDPAGE
PAGE "Avanzate" -1 -1 60 16
MEMO F_INCLUDE 58 2
MEMO F_PRESCRIPT 58 10
BEGIN
PROMPT 1 0 "Librerie (separate da ,) "
PROMPT 1 0 "Script iniziale"
END
MEMO F_PRESCRIPT 58 6
MEMO F_POSTSCRIPT 58 4
BEGIN
PROMPT 1 2 "Script iniziale"
END
MEMO F_POSTSCRIPT 58 5
BEGIN
PROMPT 1 8 "Script finale"
PROMPT 1 10 "Script finale"
END
BUTTON DLG_CANCEL 10 2