Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Windows XP - Canvas does not allow drawing.

edited February 2002 in General
What would cause the EInvalidOperation error message "Canvas does not allow
drawing." on Windows XP Professional. I am logged in as an Administrator
and running just a preview of a report.

I am dumbfounded.

Comments

  • edited February 2002
    To Continue the Thought,

    The reports run fine on WinNt and Win2000 from same executable.
    Interestingly, I ran a simple States report, it ran fine, ran another
    report, got the "Canvas does not allow drawing." message, ran the States
    report again, got the "Canvas" message, ran an archived report several times
    fine. Bizarre, but hey its WinXp, another fine Microsoft product.

    Delphi5, ReportBuilder 6.03, WinXp Professional


  • edited February 2002
    What is your installed default printer driver? I'm sure you know this, but
    for other readers, RB uses the printer driver to determine the pagination of
    a report, for the screen preview. We'll download the driver here and run
    with it on our XP Pro machine. It's probably another fine example of how to
    write a printer driver that supports the API calls that M$ apps use...and
    not necessarily all of the API calls that a Windows application could make
    to the printer:)


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.