| To: | realbasic-nug@lists.realsoftware.com |
|---|---|
| Subject: | page number for styleTextPrinter |
| From: | Bruce Moore <bruce@macestimating.com> |
| Date: | Sun, 30 Nov 2008 12:59:29 -0500 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
I have a styled edit field that I print using styletextPrinter and
since the text in the field is variable and styletextPrinter
determines the page breaks, I cannot pre-print the page numbers in the
editfield. How can I add page numbers to print at the bottom of the
pages as styletextPrinter is breaking the pages? I print with:
If g <> Nil then
stp=ef.StyledTextPrinter(g,p.Width)
do until stp.eof
stp.DrawBlock 0,0,p.Height
if not stp.eof then g.nextpage
loop
End if
--
Bruce Moore
Manassas, Virginia
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Interfaces and Computed Properties, lists@mgreg.com |
|---|---|
| Next by Date: | Re: Interfaces and Computed Properties, Thomas Tempelmann |
| Previous by Thread: | Create RealSQLDatabase or RealSQLServerDatabase VIEW from RealBasic, Trisha Duke |
| Next by Thread: | Re: Application icons trouble, Thomas Tempelmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |