FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fwh 20.12 TPreview error on zoom- Resolved
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Fwh 20.12 TPreview error on zoom- Resolved
Posted: Thu Jan 07, 2021 08:15 AM
today I click into preview to zoom and go out an error


Code (fw): Select all Collapse
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 )
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: Fwh 20.12 TPreview error on zoom
Posted: Thu Jan 07, 2021 10:32 AM

Dear Silvio,

we are checking it,

many thanks for your feedback

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Fwh 20.12 TPreview error on zoom
Posted: Thu Jan 07, 2021 05:58 PM

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

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: Fwh 20.12 TPreview error on zoom
Posted: Thu Jan 07, 2021 06:06 PM
Dear Silvio,

We tested this example and it works fine:
Code (fw): Select all Collapse
#include "fivewin.ch"

function Main()

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

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 20.12 TPreview error on zoom
Posted: Fri Jan 08, 2021 06:14 PM

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.

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Fwh 20.12 TPreview error on zoom
Posted: Fri Jan 08, 2021 07:45 PM
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
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: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 20.12 TPreview error on zoom
Posted: Sat Jan 09, 2021 07:36 AM

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.

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Fwh 20.12 TPreview error on zoom
Posted: Sat Jan 09, 2021 11:49 AM
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
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: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Fwh 20.12 TPreview error on zoom- Resolved
Posted: Sat Jan 09, 2021 04:04 PM
recompiled and that error never came up.

Ok. good to know.
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion