Ron Cates Posted February 15, 2012 Posted February 15, 2012 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?
dansmith65 Posted February 15, 2012 Posted February 15, 2012 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.
Ron Cates Posted February 16, 2012 Author Posted February 16, 2012 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
Recommended Posts
This topic is 5000 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 accountSign in
Already have an account? Sign in here.
Sign In Now