FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error en PREVIEW nueva versi贸n 11.04
Posts: 610
Joined: Wed Oct 19, 2005 08:20 PM
Error en PREVIEW nueva versi贸n 11.04
Posted: Thu Apr 28, 2011 07:10 PM

Al recompilar con la 煤ltima versi贸n 11.04 me encuentro con el siguiente error en el PREVIEW:

Error description: Warning BASE/1005 Message not found: TPREVIEW:_OREPORT

Stack Calls

Called from: source\rtl\tobject.prg => TPREVIEW:ERROR(172)
Called from: source\rtl\tobject.prg => TPREVIEW:MSGNOTFOUND(205)
Called from: source\rtl\tobject.prg => TPREVIEW:_OREPORT(0)
Called from: .\source\classes\RPREVIEW.PRG => RPREVIEW(1579)
Called from: .\source\classes\REPORT.PRG => (b)TREPORT:NEW(187)
Called from: .\source\classes\REPORT.PRG => TREPORT:ACTIVATE(880)

Un saludo,

Manuel



xH 1.2.3, FWH 23.07 32 bits, BC++ 7.4, xVerce CW 1.0, PellesC
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Error en PREVIEW nueva versi贸n 11.04
Posted: Thu Apr 28, 2011 09:53 PM
We regret the inconvenience. There is a small typographical error in the rpreview.prg
Please see line no: 71 in rpreview.prg (11.04)
Code (fw): Select all Collapse
   DATA   oDevice, oReportf

Instead of oReport, wrongly typed as oReportf.
Kindly correct this line as below:
Code (fw): Select all Collapse
   DATA   oDevice, oReport

With the correction it will work correctly.
Regards



G. N. Rao.

Hyderabad, India
Posts: 1710
Joined: Tue Oct 28, 2008 06:26 PM
Re: Error en PREVIEW nueva versi贸n 11.04
Posted: Thu Apr 28, 2011 10:10 PM

G. N. Rao.

You must repair and we download again

Thanks.

Regards,

Adhemar

Saludos,



Adhemar C.
Posts: 610
Joined: Wed Oct 19, 2005 08:20 PM
Re: Error en PREVIEW nueva versi贸n 11.04
Posted: Mon May 02, 2011 10:53 AM

He descargado la actualizaci贸n de hoy y ahora el error es otro:

Error occurred at: 02-05-2011, 12:51:47
Error description: Error BASE/1004 Class: 'NIL' has no exported method: NHEIGHT
Args:
[ 1] = U

Stack Calls

Called from: => NHEIGHT(0)
Called from: .\source\classes\RPREVIEW.PRG => TPREVIEW:PAINTMETA(638)
Called from: .\source\classes\RPREVIEW.PRG => (b)TPREVIEW:ACTIVATE(159)
Called from: .\source\classes\WINDOW.PRG => TWINDOW:RESIZE(2118)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(3409)
Called from: => SHOWWINDOW(0)
Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE(975)
Called from: .\source\classes\RPREVIEW.PRG => TPREVIEW:ACTIVATE(159)
Called from: .\source\classes\RPREVIEW.PRG => RPREVIEW(1606)
Called from: .\source\classes\REPORT.PRG => (b)TREPORT:NEW(187)
Called from: .\source\classes\REPORT.PRG => TREPORT:ACTIVATE(880)

Un saludo,

Manuel



xH 1.2.3, FWH 23.07 32 bits, BC++ 7.4, xVerce CW 1.0, PellesC
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Error en PREVIEW nueva versi贸n 11.04
Posted: Mon May 02, 2011 05:11 PM
Fix:
For the lines 638 and 639 in rpreview.prg
Code (fw): Select all Collapse
      aRect[ 1 ] += ( ::oWnd:oBar:nHeight    + 4 )
      aRect[ 3 ] -= ( ::oWnd:oMsgBar:nHeight + 4 + 5 )  // 5 shadow depth

substitute:
Code (fw): Select all Collapse
      aRect[ 1 ] += ( ::oWnd:oTop:nHeight    + 4 )
      aRect[ 3 ] -= ( IfNil( ::oWnd:oMsgBar, ::oWnd:oBottom ):nHeight + 4 + 5 )  // 5 shadow depth
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion