vb6 - Why does ActiveReports 2 Drawline only draw on last page? -


i working on legacy vb6 application uses activereports 2. experimenting drawing lines on page. when have report data causes generated report have more 1 page, noticed drawline method draws line on last page.

for example, in reportend event handler of activereport, have following code:

me.pages(0).drawline 2000, 2000, 2000, 5000 me.pages(1).drawline 2000, 2000, 2000, 5000 

when have 2 page report, line appears on page 2. know why? doing wrong?

i figured out should use pageend event handler instead following code:

me.canvas.drawline 2000, 2000, 2000, 5000 

this draw line on each page after rendered.


Comments

Popular posts from this blog

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -