Jump to content
We've recently updated our Privacy Statement, available here ×

Relative positioning an element


2005 IR Help

Recommended Posts

By: Joseph Noel - j1n0

Relative positioning an element

2005-09-21 09:22

How can I set an element's position to be a few pixels below another element? Let's say I have a subreport that prints out a variable number of table data, and I want a static text to be placed 10 pixels below the subreport. I can't just set the top coordinate of the text because I do not know what height the subreport will have at the end. Is there a way to do this? Thanks.

 

Great job everyone, by the way.

 

Jino Noel

 

 

 

 

By: C-Box - c-box

RE: Relative positioning an element

2005-09-21 11:18

put the subreport in its own dummygroupheaderband and your static textfield in detailband or another dummygroupheaderband then you should be able that the field is below your subreport. you can also try to set the positiontype of the static-textfiel to float instead of the dummygroups but I guess you must put the subreport in a dummygroup.... just try

 

hth

C-Box

 

 

 

 

By: Joseph Noel - j1n0

RE: Relative positioning an element

2005-09-23 10:18

Hey thanks. That float position type is what I needed. Thanks for pointing me to it. Finally bought the iReport manual to learn about other features that I may be missing.

 

Now how do I get a subreport to start printing on a new page?

 

Thanks again.

 

 

 

 

By: C-Box - c-box

RE: Relative positioning an element

2005-09-24 01:00

:-)

 

Therefor you must put your SubReport in such a dummy groupheaderband as I told you in my first answer... the group has an attribute "StartOnNewPage" and that should solve your problem! :-)

 

hth

C-Box

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...