February 15, 201213 yr 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?
February 15, 201213 yr 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... determine the height of the window, minus the content Get( WindowHeight ) - Get( WindowContentHeight ) add the height of the header/footer 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.
February 16, 201213 yr Author 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
Create an account or sign in to comment