FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour several minor bugs FWH 13.07
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
several minor bugs FWH 13.07
Posted: Tue Aug 20, 2013 08:35 PM
Hello,

I have discovered several bugs:

report.prg:

in method act铆vate, the dialog does not show the page number, I see the dialog with title and Cancel button, nothing else. To see it, you need a large dbf.


rpreview.prg:

when you click on Factor combobox, nothing is changed.

Also, cTitles for Msg*** functions are not translated,



prv2pdf.prg:
DEFAULT lOpen := MsgYesNo( FWString( "View" ) + ' ' + cPDF + " (Y/N)?" )

(Y/N) should also be translated, and removed last ? as in Spanish, French or Italian woudl be ...?.

And when the report is a Little big, a GPF with hb_out.log happens:

Code (fw): Select all Collapse
Error irrecuperable 9006: hb_xgrab no puede asignar memoria
Called from DIBTOSTR(0)
Called from EMF2JPEG(74) in .\source\function\PRV2PDF.PRG
Called from FWPDF:ADDMETA(139) in .\source\function\PRV2PDF.PRG
Called from (b)FWSAVEPREVIEWTOPDF(38) in .\source\function\PRV2PDF.PRG
Called from AEVAL(0)
Called from FWSAVEPREVIEWTOPDF(38) in .\source\function\PRV2PDF.PRG
Called from TPREVIEW:SAVEAS(1656) in .\source\classes\RPREVIEW.PRG
Called from (b)TPREVIEW_SAVEASMENU(1617) in .\source\classes\RPREVIEW.PRG
Called from TMENU:ACTIVATE(496) in .\source\classes\MENU.PRG
Called from TBTNBMP:SHOWPOPUP(1494) in .\source\classes\BTNBMP.PRG
Called from (b)TPREVIEW_BUILDBUTTONBAR(334) in .\source\classes\RPREVIEW.PRG
Called from TBTNBMP:CLICK(471) in .\source\classes\BTNBMP.PRG
Called from TBTNBMP:LBUTTONUP(659) in .\source\classes\BTNBMP.PRG
Called from TCONTROL:HANDLEEVENT(1719) in .\source\classes\CONTROL.PRG
Called from TBTNBMP:HANDLEEVENT(1465) in .\source\classes\BTNBMP.PRG
Called from _FWH(3183) in .\source\classes\WINDOW.PRG
Called from SYSREFRESH(0)
Called from STOPUNTIL(60) in .\source\function\MSGRUN.PRG
Called from TPREVIEW:ACTIVATE(143) in .\source\classes\RPREVIEW.PRG
Called from RPREVIEW(1755) in .\source\classes\RPREVIEW.PRG
Called from (b)TREPORT_NEW(173) in .\source\report.prg
Called from TREPORT:ACTIVATE(851) in .\source\report.prg



Thank you. Best regards
Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producci贸n]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: several bugs FWH 13.07
Posted: Thu Aug 22, 2013 08:23 AM

Up.

Thanks.

Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producci贸n]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: several bugs FWH 13.07
Posted: Thu Aug 22, 2013 10:20 AM

Lucas,

We have seen your post and we are working to fix them, thanks

They are minor bugs, as a bug is an error that blocks an application so it can't be used.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: several minor bugs FWH 13.07
Posted: Thu Aug 22, 2013 01:44 PM

Lucas,

  1. In source\classes\report.prg replace:

@ 200, 250 SAY oPagina VAR ::nPage OF ::oRptWnd PIXEL

with this:

@ 35, 90 SAY oPagina VAR ::nPage OF ::oRptWnd PIXEL SIZE 80, 12

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Re: several minor bugs FWH 13.07
Posted: Thu Aug 22, 2013 01:45 PM

Master Antonio,

Please, do not mistreat such errors.

Users see that failures in the application and they think the aplication it麓s not safe and secure. Very very important.

Best wishes,

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: several minor bugs FWH 13.07
Posted: Thu Aug 22, 2013 02:22 PM
2. The combobox factor is not intendeed to do "anything" except to set the zoom factor for next zoom.

In case that we want to have certain functionality, this could help:

Code (fw): Select all Collapse
   @ nRow - 4, nCol + 40 COMBOBOX ::oFactor VAR ::nZFactor ;
      ITEMS { "1", "2", "3", "4", "5", "6", "7", "8", "9" } ;
      OF ::oBar FONT ::oFont PIXEL SIZE 35,200 ;
      ON CHANGE ( oThis:SetFactor( oThis:nZFactor ), oThis:SetOrg1( 0, 0 ) )


But the problem is that we can not switch from a zoom factor to another zoom factor.

I appreciate your (all) comments, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: several minor bugs FWH 13.07
Posted: Thu Aug 22, 2013 02:36 PM
  1. done, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: several minor bugs FWH 13.07
Posted: Thu Aug 22, 2013 02:46 PM
  1. done, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: several minor bugs FWH 13.07
Posted: Thu Aug 22, 2013 03:09 PM

Antonio,

in 1), report, METHOD Activate

In the dialog is also missing the string "Preparando p谩gina: "

Thanks.

Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producci贸n]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Re: several minor bugs FWH 13.07
Posted: Fri Aug 23, 2013 02:24 PM
Antonio,

Lo del Factor del rpreview.prg nos lo arreglaste as铆 en el m茅todo Setfactor de rpreview.prg

::SetZoomFactor( ::nZFactor, ::nZFactor * 2 )

if !::lZoom .and. ! lInit
::Zoom( .T. ) // A.L. 08 Oct 2007
endif

if ::lZoom
::SetRange( 1, VSCROLL_RANGE )
if ::nZFactor > 1
::SetRange( 1, HSCROLL_RANGE )
else


Con ese c贸digo, si pinchas en el combobox o en el men煤 y cambias el Factor s铆 que funciona.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: several minor bugs FWH 13.07
Posted: Sun Aug 25, 2013 04:26 PM

Elvira,

gracias! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion