Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.



How can I move and resize report's objects? by vgulielmus
Posted: 12 Feb 14

This can be done using SET REPORTBEHAVIOR 90.
For resizing rectangles and pictures, the "Dinamycs" tabs from the Property window can be used.

For resizing fields or labels and for changing their position, can be used the "Other" tab from the Property window.
This tab has a "Run-time extensions" section. Here can be programmed some events.

For moving / resizing objects:
From field's properties, select "Other" tab. Down there at "Run-time extensions", click "Edit settings".
Fill the "Execute when" textbox with RENDER.
Then either edit the content of the edit box from above, either click the "Code zoom" button.

When tcMethodToken=RENDER:

The values typed here overwrites the ones generated by the report.
For enlarging the width of an object with one inch, type tP4=tP4+960
For moving to the right with one inch, type tP2=tP2+960
For placing an object exactly at one inch from the top margin, type tp3=960

Back to Microsoft: Visual FoxPro FAQ Index
Back to Microsoft: Visual FoxPro Forum

My Archive


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close