* Form Resize event
WITH ThisForm
.pgfPages.Height = .Height - 1
ENDWITH
RETURN
Now run the form and resize it's hieght, does the pageframe resize it's height too? If no then we have to find out why not because it should. If it does resize, add back the line to resize the pgframe's width and run it again. Continue until it fails working or all the code is back. If it fails at any point the last item you added back is very likely the culprit.