"Position: Absolute" in VS Report builder

stras77
stras77 Member Posts: 6
edited 2015-11-30 in NAV Tips & Tricks
Is it possible to create a text box that does not affect other boxes when made visible.

What I have:
Invisible text box. The page looks normal.
Visible text box. Everything gets pushed down, and looks wrong.

What I want:
Invisible text box. The page looks normal.
Visible text box . Everything stays in place, and the text box shows the text on top of the other boxes.

Is this possible or do i really need to make approx 10-20 functions in order to make the text box toggle on and off, without?

Answers

  • stras77
    stras77 Member Posts: 6
    I think that I'll be able to answer this question on my own, this time.

    - The text box is always shown, the content is displayed via expressions.

    Right click text box -> Expression...
    =iif(Something.value = 1,"Text"," ")
    

    If anybody can give something that looks more as an absolute positioning like in CSS for HTML, I would be very interested in knowing anyways.
  • kaspermoerch
    kaspermoerch Member Posts: 43
    edited 2016-10-04
    You could try grouping your different elements in Rectangles. The reason is that elements at the same "level" in the document outline effect each others position when shown/hidden dynamically. When you group them in Rectangles the move further down the document outline tree and are thus no longer effected by elements higher up the tree.