Size of form parts in print/preview

I have a need to show a variable amount of text/images on the bottom of an invoice, depending on whether or not the user wants to accpet credit card payments or not. I can easily turn off the unwanted text/images (which are in a trailing subsummary), but it leaves white space. I’d actually like to reduce the height of the trailing part of the form, so that the body part can use as much as possible of the page.

I’ve tried putting a tabless tab panel there to display another form, but the part is then just the size of the related form.

Any tips on how I can achieve the effect I’m looking for?

In FM, there was an option to reduce the size of the enclosing part, when print-sliding.

Servoy has print sliding as well. it can reduce AND enlarge accordingly to the fields on the form.
Also make sure no objects are overlapping each other.

Did you try that already?

Oh yes, I’ve tried about every combination I can think of.
It’s not the sliding of the elements that I’m referring to, it’s the size of a form part. When I remove or reduce the size of elements, I’d like to reduce the height of the part they are in, either automatically or via a method. In this way, I can have the maximum amount of the page for the body contents.

I have created print fields of about 2px hight, as such making the body part at a minimum height.

BTW, as Robert said, make SURE your element are not overlapping! This is easily checked, you will have a yellow triangle in the left corner of your status bar. Double clicking on it will give you a dialog stating what is wrong. Also very convenient for calculations…

Thanks for the triangular tip, Marcel!