Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Resize To Fit Summary Report on Windows


This topic is 4663 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a pop up window that displays a Summary report layout. When I use Adjust Window [Resize to fit] at the end of the script, the window width shrinks to fit but the hight is maximized with a huge amount of blank space. I tried with all the different kinds of footers, including a trailing grand summary and even without a footer. No matter what I can't seem to get it to shrink up to the bottom row of the report.

Any ideas?

Posted

When in list view, Resize to fit will always maximize the window height, and adjust width to fit.

If you want the window height to match the found set of records, you'll have to do that manually. Here is the basic concept of what you would need to do...

  1. determine the height of the window, minus the content

    Get( WindowHeight )  - Get( WindowContentHeight )


  2. add the height of the header/footer
  3. add the height of the body for each record found

I've never done this, but I assume it would work. You might have trouble if there are multiple sub-summary parts in the found set.

Posted

I was thinking I was going to have to get creative in some way. It's a little tedious but I think I can get it worked out.

Thanks

This topic is 4663 days old. Please don't post here. Open a new topic instead.

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...

Important Information

By using this site, you agree to our Terms of Use.