Patch level : 2.1 98

Files correlati     : ba8.exe ba8300c.msk
Ricompilazione Demo : [ ]
Commento            :

Aggiunto supporto per body splittatbili in due pagine


git-svn-id: svn://10.65.10.50/trunk@12273 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2004-07-29 12:50:57 +00:00
parent 422eea88c1
commit 132cd3e790
3 changed files with 9 additions and 0 deletions

@ -592,6 +592,7 @@ void TSection_properties_mask::vedo_non_vedo()
show(F_CONDITION, type == 'B' && level > 0);
show(F_GROUP_BY, type == 'H' && level > 1);
show(F_KEEP_WITH_NEXT, level > 1 && type == 'H');
show(F_CAN_BREAK, level > 0 && type == 'B');
show(F_HIDE_IF_NEEDED, level == 0 && type != 'B');
show(F_REPEAT, level > 1 && type == 'H');
enable(DLG_DELREC, level > 1);
@ -642,6 +643,7 @@ void TSection_properties_mask::set_section(const TReport_section& rs)
set(F_HIDDEN, rs.hidden());
set(F_PAGE_BREAK, rs.page_break());
set(F_KEEP_WITH_NEXT, rs.keep_with_next());
set(F_CAN_BREAK, rs.can_be_broken());
set(F_REPEAT, rs.repeat_on_page());
set(F_DISABLED, rs.deactivated());
@ -674,6 +676,7 @@ void TSection_properties_mask::get_section(TReport_section& rs) const
rs.hide_if_needed(get_bool(F_HIDE_IF_NEEDED));
rs.force_page_break(get_bool(F_PAGE_BREAK));
rs.keep_with_next(get_bool(F_KEEP_WITH_NEXT));
rs.can_break(get_bool(F_CAN_BREAK));
rs.set_repeat_on_page(get_bool(F_REPEAT));
rs.set_pattern((PAT_STYLE)get_int(F_PATTERN));

@ -52,6 +52,7 @@
#define F_CONDITION 165
#define F_REPEAT 166
#define F_FONT_AUTO 167
#define F_CAN_BREAK 168
#define F_SQL 201
#define F_IMPORT_QRY 202

@ -61,6 +61,11 @@ BEGIN
PROMPT 21 5 "Mantieni col successivo"
END
BOOLEAN F_CAN_BREAK
BEGIN
PROMPT 21 5 "Ammetti spezzamento su due pagine"
END
BOOLEAN F_HIDE_IF_NEEDED
BEGIN
// Visibile per testa e coda di pagina