rpreview error :why ????

rpreview error :why ????

Postby Silvio » Wed Jun 17, 2009 10:40 pm

I open the preview of order
first I click on first page and I can zoom it
then I return to one page
then I go to two pages
then I click on second page
and it make ERROR

Image


this is the error lines :

Application
===========
Path and name: C:\work\rivamania\RIVAMANIA.Exe (32 bits)
Size: 3,601,920 bytes
Time from start: 0 hours 0 mins 32 secs
Error occurred at: 18-06-2009, 00:33:17
Error description: Error BASE/1004 Class: 'NIL' has no exported method: REFRESH
Args:
[ 1] = U

Stack Calls
===========
Called from: => REFRESH(0)
Called from: .\source\classes\RPREVIEW.PRG => TPREVIEW:SETORG2(0)
Called from: .\source\classes\RPREVIEW.PRG => (b)TPREVIEW:BUILDWINDOW(0)
Called from: .\source\classes\WINDOW.PRG => TMETAFILE:LDBLCLICK(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: LIB\control.prg => TMETAFILE:HANDLEEVENT(1414)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => SYSREFRESH(0)
Called from: .\source\function\MSGRUN.PRG => STOPUNTIL(0)
Called from: .\source\classes\RPREVIEW.PRG => TPREVIEW:ACTIVATE(0)
Called from: .\source\classes\RPREVIEW.PRG => RPREVIEW(0)
Called from: LIB\PRINTER.PRG => (b)TPRINTER:TPRINTER(250)
Called from: => TPRINTER:PREVIEW(0)
Called from: LIB\PRINTER.PRG => PRINTEND(962)
Called from: source\RIV230.PRG => IMP_COTIZA(520)
Called from: source\RIV230.PRG => (b)RIV230(288)
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: rpreview error :why ????

Postby Otto » Thu Jun 18, 2009 8:50 pm

Silvio, try EasyReport.
Best regards,
Ottto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6318
Joined: Fri Oct 07, 2005 7:07 pm

Re: rpreview error :why ????

Postby Silvio » Thu Jun 18, 2009 9:24 pm

Otto,
i have error with fwh rpreview not with easyreport.
i use only printer class comand to create what you see on the picture..
Easyreport is very hard to use and i cannot lose time to joke with this easyreport ...
and then easyreport must use rpreview class or not?

i 'M USING fwh rpreview ...
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: rpreview error :why ????

Postby nageswaragunupudi » Fri Jun 19, 2009 4:13 am

Mr Silvio

I have tested this with testxbr3.prg. I used the same steps as you described. I did not get any errors. I tested with FWH 905
Regards

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

Re: rpreview error :why ????

Postby Silvio » Fri Jun 19, 2009 3:57 pm

the problem is here :

on rpreview

if ::oDevice:lPrvModal
StopUntil( { || ::lExit } )
endif

if on my source insert this command :
oPrn:=PrintBegin("Stampa fattura prenotazione "+aDat[6],.F.,lPrv,,.T.)
oPrn:lPrvModal:=.T.
oPrn:SetPortrait()
CursorWait()
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: rpreview error :why ????

Postby stefano » Fri Jun 19, 2009 5:40 pm

Ciao Silvio

Non so se questo errore è lo stesso che ho trovato qulache tempo fa, io l'ho risolto così

METHOD SetOrg2( nX, nY ) CLASS TPreview

if l2007
::obar:Refresh()
else
::oPage:Refresh()
endif

è un problema sul refresh della buttonbar

Stefano
FWH 14.11 + xHarbour + bcc582
stefano
 
Posts: 80
Joined: Tue Mar 25, 2008 9:03 pm
Location: ITALIA

Re: rpreview error :why ????

Postby Silvio » Sat Jun 20, 2009 6:44 pm

thanks
perchè non lo dici a linares ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 46 guests