Hi Forum.
I have a Layout like this:
<Header>
<<singletextfield1>>
<<singletextfield2>>
SOME FIXED TEXT
</Header>
<Body>
[a single field] [another single field]
</Body>
<Footer>
some footer text
</Footer>
singletextfield2 is a sizeable box 500 height x 150 width and it can contain one single or multiple lines of text.
Thats why i make <<singletextfield2>> and SOME FIXED TEXT "Sliding up based on, all objects above as well as, Also resize enclosing part".
However when the field only contains one line, the space left between SOME FIXED TEXT and the first line of the Body is still about 450 px high.
Am I doing something wrong? I want he header to contract with the field and its not doing that, essentially the header is staying exactly the same height, all the time.
FM 11v03
Thanks for any tipps
Spongebob
4 replies to this topic
#1 OFFLINE Developer
Posted 20 February 2012 - 09:11 AM
#2 ONLINE I have an idea!
Posted 20 February 2012 - 10:00 AM
Make sure the fields have NO borders and that it is formatted to be TOP aligned any field that is MIDDLE or BOTTOM aligned will not properly slide or reduce.
Stephen Dolenski
FM Forums.com Founder, Administrator
FM Forums.com Founder, Administrator
#3 OFFLINE ChindoguMaker
Posted 20 February 2012 - 10:23 AM
spongebob, on 20 February 2012 - 09:11 AM, said:
Am I doing something wrong?
Yes, the header part doesn't resize.
From Help On Line:
You can set layout parts to shrink when the fields in them slide up. Headers, footers, title headers, and title footers never shrink or slide up.
Daniele
--------------------------------
I'm sorry for my English
--------------------------------
I'm sorry for my English
#4 OFFLINE Developer
Posted 22 February 2012 - 04:53 PM
thank you! Great infos! That was it. Now its a grand summary and it works. Thanks again!
#5 OFFLINE Mostly Harmless
Posted 22 February 2012 - 06:09 PM
Leading Grand Summary prints at the top of the found set of records, and only once. Not quite the same thing: if you want to print a found set of records, the LGS will only appear on the first record's print out.
This can be solved by printing each record separately but it's a PITA.
A sub-summary field might be better choice. The found set will need to be sorted on the break field though.
This can be solved by printing each record separately but it's a PITA.
A sub-summary field might be better choice. The found set will need to be sorted on the break field though.
Vaughan Bromfield
Sydney, Australia
Please post questions to the Forum, not directly to me. Back-up your files before making changes!
Whenever I hear the term "popular culture" I reach for my Iridium Q-36 Space Modulator.
Sydney, Australia
Please post questions to the Forum, not directly to me. Back-up your files before making changes!
Whenever I hear the term "popular culture" I reach for my Iridium Q-36 Space Modulator.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users































