Page 1 of 1

Fwh 20.12 TPreview error on zoom- Resolved

Posted: Thu Jan 07, 2021 8:15 am
by Silvio.Falconi
today I click into preview to zoom and go out an error

Code: Select all

Application
===========
   Path and name: C:\Work\Prg\TimePro\main.Exe (32 bits)
   Size: 4,455,424 bytes
   Compiler version: Harbour 3.2.0dev (r1904111533)
   FiveWin  version: FWH 20.12
   C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
   Windows version: 6.1, Build 7600 

   Time from start: 0 hours 0 mins 11 secs 
   Error occurred at: 07-01-2021, 09:10:11
   Error description: Error BASE/1004  Metodo non disponibile: REFRESH
   Args:
     [   1] = U   

Stack Calls
===========
   Called from:  => REFRESH( 0 )
   Called from: .\source\classes\RPREVIEW.PRG => TPREVIEW:ZOOM( 1205 )
   Called from: .\source\classes\RPREVIEW.PRG => TPREVIEW:SETORG1( 1342 )
   Called from: .\source\classes\RPREVIEW.PRG => (b)TPREVIEW_BUILDWINDOW( 520 )
   Called from: .\source\classes\WINDOW.PRG => TWINDOW:LDBLCLICK( 2092 )
   Called from: .\source\classes\CONTROL.PRG => TMETAFILE:LDBLCLICK( 1840 )

 

Re: Fwh 20.12 TPreview error on zoom

Posted: Thu Jan 07, 2021 10:32 am
by Antonio Linares
Dear Silvio,

we are checking it,

many thanks for your feedback

Re: Fwh 20.12 TPreview error on zoom

Posted: Thu Jan 07, 2021 5:58 pm
by Silvio.Falconi
Antonio,
this afternoon not go out the error
I tried many times
and it is strange
the error was on Refresh command
of method zoon the last line

Re: Fwh 20.12 TPreview error on zoom

Posted: Thu Jan 07, 2021 6:06 pm
by Antonio Linares
Dear Silvio,

We tested this example and it works fine:

Code: Select all

#include "fivewin.ch"

function Main()

  XBROWSER "CUSTOMER.DBF" COLUMNS "FIRST","LAST","CITY"

return nil

Re: Fwh 20.12 TPreview error on zoom

Posted: Fri Jan 08, 2021 6:14 pm
by nageswaragunupudi
Mr. Silvio

Are you sure you are not using a modified "rpreview.prg" in your application?

After a detailed examination we could not see any reason why "::oZoom" can be NIL in line 1206.

Please build the above sample posted by Mr. Antonio, in the samples folder with buildh.bat and try if you get this error and let us know.

Re: Fwh 20.12 TPreview error on zoom

Posted: Fri Jan 08, 2021 7:45 pm
by Silvio.Falconi
nageswaragunupudi wrote:Mr. Silvio

Are you sure you are not using a modified "rpreview.prg" in your application?

After a detailed examination we could not see any reason why "::oZoom" can be NIL in line 1206.

Please build the above sample posted by Mr. Antonio, in the samples folder with buildh.bat and try if you get this error and let us know.
I must revise that app, I notice you if I see also the error

Re: Fwh 20.12 TPreview error on zoom

Posted: Sat Jan 09, 2021 7:36 am
by nageswaragunupudi
We checked thoroughly.
There is no way anybody can get this error unless he is using an incorrectly modified rpreview.prg.
There is no problem with the rpreview.prg as exists in the fwh library.

Re: Fwh 20.12 TPreview error on zoom

Posted: Sat Jan 09, 2021 11:49 am
by Silvio.Falconi
nageswaragunupudi wrote:We checked thoroughly.
There is no way anybody can get this error unless he is using an incorrectly modified rpreview.prg.
There is no problem with the rpreview.prg as exists in the fwh library.

Mr. Rao,
The other day I recompiled a source with the new Fwh (20.12)
and this error came out and since it seemed strange to me I asked on the forum.
Then I deleted all the objs that are created in the obj folder (I use xmate to compile), recompiled and that error never came up.
I not link any rpreview revised but only the fwh lib
in the past when rpreview did not work I had created some override functions, but in that application I do not use any other rpreview except that of fivewin

Re: Fwh 20.12 TPreview error on zoom- Resolved

Posted: Sat Jan 09, 2021 4:04 pm
by nageswaragunupudi
recompiled and that error never came up.
Ok. good to know.