FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New FWH 19.09
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWH 19.09
Posted: Sun Oct 13, 2019 11:14 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: New FWH 19.09
Posted: Sun Oct 13, 2019 05:13 PM

Dear Antonio,

I noticed a problem with xBrowse
It seems celledit on doubleclick -> return doesn't save the values.

regards
Uwe :?:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 336
Joined: Mon Dec 07, 2009 02:49 PM
Re: New FWH 19.09
Posted: Mon Oct 14, 2019 04:21 AM
Dear Antonio,

May I know this HARUPDF NEW feature is also using EASYREPORT when we generate PDF directly ?



* HARUPDF:

- New class FWPdf (derived from class TPdf contributed by Mr. Carlos Mora
and improved and adapted for FWH.).
\fwh\source\classes\fwpdf.prg and tpdf.prg

Usage:
oPdf := FWPdf():New( cPdfFileName )
// write text, images, barcodes and other graphics with the same methods
// like Priner class.
oPdf:End() // saves the pdffile and ends the object

- In normal course, it is not necessary to instantiate the object
separately and instead we can use PRINT/ENDPRINT commands to write
portable code.

At present, the command:
PRINT oPrn [PREVIEW] FILE "filename.pdf"
// code
ENDPRINT
will save the printed matter to filename.pdf and display if the
clause PREVIEW is used.
This behaviour will continue.

If TPrinter():lUseHaruPDF is set to .T., and linked with harupdf
by REQUEST FWHARU, the above print command will generate the pdf file
using harupdf.
Thanks

Shridhar

FWH 24.04, BCC 7 32 bit, MariaDB
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 19.09
Posted: Mon Oct 14, 2019 10:14 PM
Dear Uwe,

ukoenig wrote:Dear Antonio,

I noticed a problem with xBrowse
It seems celledit on doubleclick -> return doesn't save the values.

regards
Uwe :-)


We are reviewing it, many thanks for your feedback
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New FWH 19.09
Posted: Tue Oct 15, 2019 04:24 AM
ukoenig wrote:Dear Antonio,

I noticed a problem with xBrowse
It seems celledit on doubleclick -> return doesn't save the values.

regards
Uwe :-)


We tested here and found it is working fine.
This is a small sample
Code (fw): Select all Collapse
#include "fivewin.ch"

REQUEST DBFCDX

function Main()

   RDDSETDEFAULT( "DBFCDX" )

   XBROWSER "STATES.DBF" FASTEDIT

return nil




If you are having any problem, please provide a small self contained sample to reproduce the problem.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New FWH 19.09
Posted: Tue Oct 15, 2019 04:26 AM

Mr. Shridhar

It is not yet implemented for EasyReport.
We plan to implement it in the next version.

Regards



G. N. Rao.

Hyderabad, India
Posts: 838
Joined: Wed Aug 22, 2007 10:09 AM
Re: New FWH 19.09
Posted: Tue Oct 15, 2019 08:39 AM

Hello,

Can you please look at this?

viewtopic.php?f=3t=37792

Thank you

&

Saludos / Regards,



FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: New FWH 19.09
Posted: Tue Oct 15, 2019 02:37 PM
The problem doesn't belong to FASTEDIT
to get it working (EDIT_GET) I added the following line

:aCols[I]:bOnPostEdit := { | o, v | SAVE_VALUE1( oProj1, v, nColNo ), oProj1:Save() }

the value is saved to the DBF after celledit -> return
I didn't need this with FWH_19.06 but maybe the dialog / browser-structure is a bit complicated

regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New FWH 19.09
Posted: Tue Oct 15, 2019 03:42 PM

Nothing is complicated. Fastedit or not the behaviour is the same.
By writing your own bOnPostEdit, you are complicating your program.
Keep your program simple and everything works fine.

Please post a small sample and we suggest the recommended way.

Regards



G. N. Rao.

Hyderabad, India
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: New FWH 19.09
Posted: Tue Oct 15, 2019 05:15 PM
This is a full working section ( exe and prg ) for the FASTEDIT-test
The same is done with 3 connected DBF's

DOWNLOAD

http://www.pflegeplus.com/DOWNLOADS/Install4.zip



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: New FWH 19.09
Posted: Wed Oct 16, 2019 07:48 AM

oPrint:roundbox(…) is not compatible to older FWH. The rectangle are turned 90 degrees and the pen is bigger!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New FWH 19.09
Posted: Wed Oct 16, 2019 08:22 AM

We will check this.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: New FWH 19.09
Posted: Wed Oct 16, 2019 08:39 AM

Thanks! The pen is also in oPrint:box(...) bigger as before. In my case the pens are from type "object"

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: New FWH 19.09
Posted: Thu Oct 17, 2019 08:25 AM
For a better understanding.
The new test includes 2 compiled versions using FWH 19.06 and FWH 19.09

the difference :
Code (fw): Select all Collapse
I := 4
FOR I := 4 to len( oBrw:aCols )
      oCol := oBrw:aCols[ I ]
      oCol:nEditType := EDIT_GET
      // ------- only FWh 19.09 ----------

       // oCol:bOnPostEdit := {|o, v, n| IIF( n != VK_ESCAPE, ; 
       // oProject:FieldPut( o:nCreationOrder, v ), ), ; 
       // oProject:Save(), oBrw:RefreshCurrent() }

      // ------- only FWh 19.09 ----------
NEXT


DOWNLOAD

http://www.pflegeplus.com/DOWNLOADS/Install5.zip



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 389
Joined: Wed Nov 29, 2006 01:51 PM
Re: New FWH 19.09
Posted: Thu Oct 17, 2019 10:18 AM
Probaste con :
Code (fw): Select all Collapse
:bOnPostEdit:= { | oCol, xVal, nKey | If( nKey == VK_RETURN, oCol:value:= xVal,) }


Saludos.