FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error with treport ( fwh 11.18) (printer class) resolved
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Error with treport ( fwh 11.18) (printer class) resolved
Posted: Sat Dec 29, 2018 10:45 PM
I recompile dmy app with fwh 11.18 and I have this error
Code (fw): Select all Collapse
Time from start: 0 hours 0 mins 15 secs 
   Error occurred at: 29-12-2018, 23:43:42
   Error description: Error BASE/1084  Parametro errato: /
   Args:
     [   1] = N   190
     [   2] = U   

Stack Calls
===========
   Called from: .\source\classes\PRINTER.PRG => TPRINTER:SAYIMAGE( 763 )
   Called from: .\source\classes\REPORT.PRG => TREPORT:SAYBITMAP( 532 )
   Called from: .\source\classes\RCOLUMN.PRG => TRCOLUMN:SAYDATA( 284 )
   Called from: .\source\classes\REPORT.PRG => TREPORT:PLAY( 999 )
   Called from: .\source\classes\REPORT.PRG => (b)TREPORT_ACTIVATE( 868 )
   Called from: .\source\classes\DIALOG.PRG => (b)TDIALOG( 97 )


with fwh12.17 i not have this error
what is is changed ?

it make error on

Local aAttivita := { TImage():Define( 'CHECK2' ), TImage():Define( 'CHECK3' ) }
....
COLUMN TITLE "Predefinita" DATA IIF(cu->field1,"si","no") SIZE 30 IMAGE IMGDATA aAttivita[IIF(cu->field1,1,2) ] HEIGHT 1.2 ALPHALEVEL 128
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error with treport ( fwh 11.18) (printer class)
Posted: Sun Dec 30, 2018 08:55 AM

Silvio,

Please try this:

Local aAttivita := { TImage():Define( 'CHECK2' ), TImage():Define( 'CHECK3' ) }

aAttivita[ 1 ]:nImgWidth = aAttivita[ 1 ]:nWidth
aAttivita[ 2 ]:nImgWidth = aAttivita[ 2 ]:nWidth

...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Error with treport ( fwh 11.18) (printer class)
Posted: Mon Dec 31, 2018 01:05 AM

Fixed in 18.12

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Error with treport ( fwh 11.18) (printer class)
Posted: Mon Dec 31, 2018 11:42 AM

ok run

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion