Recent

Author Topic: [SOLVED] FortesReport - Error message 'Canvas does not allow drawing'  (Read 13153 times)

JanRoza

  • Hero Member
  • *****
  • Posts: 672
    • http://www.silentwings.nl
I've been using FortesReport in my project and until now it behaved very well but now I get an error message during the creation of the report (see attached screenshot).
In the print selection window of my application you can select what to print (from date - to date) and it seems that when the time frame becomes too big this error appears. printing with a smaller date selection does give me the report preview.
Does anyone know if FortesReport has a limit on the number of pages it can print in preview?
Or is there another reason for this error?
I'm running Lazarus 09.28.3 (2010-05-02), SQLite 3.6.23 and FortesReport (2010-05-06).

Jan




« Last Edit: July 23, 2010, 08:29:31 pm by JanRoza »
OS: Windows 10 (64 bit) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

neobrasil08

  • New Member
  • *
  • Posts: 15
Re: FortesReport - Error message 'Canvas does not allow drawing'
« Reply #1 on: July 20, 2010, 01:24:39 am »
Hello JanRoza

Thanks to use fortes4lazarus.

This is an bug,

We have two versions of fortes4lazarus: 3.34 and 3.23 based
The 3.24 version based, have a strange bug still not resolved. Problem on fortes4lazarus3.24 or LCL, still in study.
Please, download the 3.23 version in sourceforge:
https://sourceforge.net/projects/fortes323laz/files/fortes323forlaz.zip/download

Please, report problems on http://dicas4lazarus.blogspot.com


JanRoza

  • Hero Member
  • *****
  • Posts: 672
    • http://www.silentwings.nl
Re: FortesReport - Error message 'Canvas does not allow drawing'
« Reply #2 on: July 20, 2010, 12:23:57 pm »
Thanks!
I'll download and install version 3.23 this evening when I'm home and will do some tests.
I'll let you know how it went.

I've visited dicas4lazarus.blogspot.com but as far as I can see there already is a report about 3.24 but I'm not sure as i don't speak/read portugese.
OS: Windows 10 (64 bit) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

JanRoza

  • Hero Member
  • *****
  • Posts: 672
    • http://www.silentwings.nl
Re: FortesReport - Error message 'Canvas does not allow drawing'
« Reply #3 on: July 20, 2010, 09:19:10 pm »
It took some error correcting before 3.23 would compile but it's up and running now.
Indeed FortesReport is now behaving and all pages show in preview again, so my problem is solved.
I do hope the bug in the newer version is solved soon so I can enjoy the latest version again. 
OS: Windows 10 (64 bit) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

neobrasil08

  • New Member
  • *
  • Posts: 15
Re: FortesReport - Error message 'Canvas does not allow drawing'
« Reply #4 on: July 21, 2010, 04:44:36 am »
Hello
Report the bugs in english.
Any problem, please report me ok

Regards

JanRoza

  • Hero Member
  • *****
  • Posts: 672
    • http://www.silentwings.nl
Re: FortesReport - Error message 'Canvas does not allow drawing'
« Reply #5 on: July 21, 2010, 12:07:46 pm »
I've posted the bug as requested.
Thanks for a great product!
OS: Windows 10 (64 bit) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

 

TinyPortal © 2005-2018