I think you must use the FirstPage and LastPage properties of your graphics
object, as this :
le 29/09/06 12:00, Cindy Brown <cindy at kowhaiprogramming dot com> a écrit :
> For i = 0 to iend
> //print g.strings here from the listbox
> If iTop > pageHeight - lHeight - lGap - lBottom then
> pageNumber = pageNumber + 1
if pageNumber > g.LastPage then
exit
end if
> g.NextPage
> iTop = lTop + 10
> iLabelTop = iTop
> End
> If icount = iend then exit
> Next
Best regards
François Van Lerberghe
Rue Thier Monty, 15 A
4570 Marchin
Belgique
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|