mackerelhead Posted April 25, 2008 Posted April 25, 2008 (edited) FM8, Mac OSX 10.4. Shouldn't the Adjust Window [Resize to Fit] script step reduce the size of the window to enclose my found records? It doesn't seem to do much of anything. I can reduce the size of the window manually, and then my footer comes up nicely and everything looks good. But if I then run the Adjust Window script step alone on a manually-closed-up window, the window opens to the height of the screen and I get a bunch of white space after the records in the body part and before the footer part. The layout looks OK, with sliding. Edited April 25, 2008 by Guest
bcooney Posted April 27, 2008 Posted April 27, 2008 Adjust Window [Resize to Fit] script step resizes the active window to the height of the screen, it has nothing to do with found count. Are you in a list view of records? If you are a trailing grand summary before your footer part and fill it to match your body part background, then you won't have white space btw the last record row and the footer. Sliding only works in Preview/Print.
fabriceN Posted April 27, 2008 Posted April 27, 2008 indeed, you seem to be in a list view. This is normal behaviour. if you're running a script, you can go to another layout (form view), sized as you would like your window to be, then adjust window, then come back to list layout.
mackerelhead Posted April 28, 2008 Author Posted April 28, 2008 (edited) Thank you both very much for this information. Now I understand the Adjust Window [Resize to Fit] script step. I am indeed in list mode. My goal is to leave the window size however the user put it; do a find; and display the found records. I want the found records to display with a slider if there are a lot of them (easy), and with no blank space between the last found record and the footer if there are few found records (not so easy). If the window is big and the found records is few, I'd like to have the body background repeat until the Footer comes along. Thanks for the suggestion to put a Trailing Grand Summary part after the Body and before the Footer. When the Trailing Grand Summary is the last thing in the layout, it does indeed come directly below the last found record. Where does the pattern below the last thing in the layout and the bottom of the window come from? Is that a graphic, or a fill, or something? Edited April 29, 2008 by Guest
Newbies obe1 Posted February 19, 2010 Newbies Posted February 19, 2010 I hope someone is still monitoring this thread. I too wish to have a window open with no space between the last record of a found set and the page footer, regardless of how many or how few records there may be. I am using the list view and I tried adding a Trailing Grand Summary. Nothing happens, although the trailing summary does but up against the las record the window still has a considerable space between the last record, summary, and the footer. It's all white space because the header and footer are gray and the body, fields and trailing summary are white. Is there anyway to make that space go away?
bcooney Posted February 19, 2010 Posted February 19, 2010 You cannot have it both ways. If you want to keep the window a certain height, then insert a trailing grand summary (set a fill color to match the header, if you want). Or, without a tgs part, resize the window to fit.
Newbies obe1 Posted February 19, 2010 Newbies Posted February 19, 2010 So there is no way, in list view, to force the window to reduce to the size of the found set of records? As you pointed out, resizing sets the window at the height of the screen. These files are being used on 21 to 30 inch monitors. The found sets for this particular window are often fewer than a dozen records.
comment Posted February 19, 2010 Posted February 19, 2010 You can set the window's height to your body part's height * Get (FoundCount) + some constant.
Recommended Posts
This topic is 5741 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