Error with treport ( fwh 11.18) (printer class) resolved

Error with treport ( fwh 11.18) (printer class) resolved

Postby Silvio.Falconi » Sat Dec 29, 2018 10:45 pm

I recompile dmy app with fwh 11.18 and I have this error
Code: Select all  Expand view
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
Last edited by Silvio.Falconi on Mon Dec 31, 2018 5:20 pm, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: Error with treport ( fwh 11.18) (printer class)

Postby Antonio Linares » Sun Dec 30, 2018 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41858
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error with treport ( fwh 11.18) (printer class)

Postby nageswaragunupudi » Mon Dec 31, 2018 1:05 am

Fixed in 18.12
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10468
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error with treport ( fwh 11.18) (printer class)

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 50 guests