Number of PAGES before the actual printing???

Number of PAGES before the actual printing???

Postby toyet » Sun Feb 17, 2008 4:08 am

When using the TReport class, how do we know the total number of pages in a report before the actual printing? ::nPage is the current page printed, is there a ::nTotalPagesCount?
User avatar
toyet
 
Posts: 39
Joined: Thu Apr 05, 2007 12:52 am
Location: Philippines

Re: Number of PAGES before the actual printing???

Postby Enrico Maria Giordano » Sun Feb 17, 2008 9:41 am

You can't. What you can do is to reload the EMFs and add the total number of pages to them. Too much work for me.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby toyet » Sun Feb 17, 2008 12:08 pm

Ok, Thanks Enrico.

Guess we have to use TDosPrn when we need the Total Number of pages.

Toyet
User avatar
toyet
 
Posts: 39
Joined: Thu Apr 05, 2007 12:52 am
Location: Philippines


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests