In a print routine like this, is there a 4D feature that lets you know when you
are on the last page in time to set the listbox's footer height?
---------------------------------
LISTBOX SET FOOTERS HEIGHT(*;$PrintBoxName;0)
Repeat
IF THIS IS THE LAST PAGE
LISTBOX SET FOOTERS HEIGHT(*;$PrintBoxName;$footerHeight) // show
footer on last page only
END IF
$TotallyPrinted:=Print object(*;$PrintBoxName)
If (Not($TotallyPrinted))
PAGE BREAK
End if
Until ($TotallyPrinted)
---------------------------------
TIA - Keith - CDI
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************