Remove a frame without left blank line when expression is true

0

Hello,

The structure of my report is the following:

Frame A

    Label

    TextField

    Frame B

        List

Frame C

    Label

    TextField

All frames are floating type. 

GOAL: I want to remove Frame B when an expression is true: $F{expression}.equals("YES") and that no blank line is left between frame A and frame C. 

PROBLEM: My issue is that Frame B does not appear, but a blank line is left. 

Could you help me please? 

Thanks, 

Manuela

manuela.texier's picture
Joined: Mar 27 2020 - 2:23am
Last seen: 1 month 3 weeks ago

Try to resize the height of frame B to 1px.

Then change the StretchType to RelativeToBandHeight or ContainerHeight.

The idea is if frame B appears, the size will be stretched base on the container height. Unless, it will take 1px height.

I am Leo - 1 month 3 weeks ago

Thanks for your answer. The problem was that my fields were touching "physically" each others. Now it works. 

manuela.texier - 1 month 3 weeks ago

0 Answers:

No answers yet
Feedback