New FWH 19.09

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

New FWH 19.09

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: New FWH 19.09

Post by ukoenig »

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.
shri_fwh
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: New FWH 19.09

Post by shri_fwh »

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 19.12, BCC 7 32 bit, MariaDB
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: New FWH 19.09

Post by Antonio Linares »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: New FWH 19.09

Post by nageswaragunupudi »

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: Select all

#include "fivewin.ch"

REQUEST DBFCDX

function Main()

   RDDSETDEFAULT( "DBFCDX" )

   XBROWSER "STATES.DBF" FASTEDIT

return nil

 
Image

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

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

Re: New FWH 19.09

Post by nageswaragunupudi »

Mr. Shridhar

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

G. N. Rao.
Hyderabad, India
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Re: New FWH 19.09

Post by MOISES »

Hello,

Can you please look at this?

https://forums.fivetechsupport.com/view ... =3&t=37792

Thank you
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: New FWH 19.09

Post by ukoenig »

The problem doesn't belong to FASTEDIT
to get it working (EDIT_GET) I added the following line

:aCols: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 :D
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.
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: New FWH 19.09

Post by nageswaragunupudi »

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
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: New FWH 19.09

Post by ukoenig »

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

Image

regards
Uwe :D
Last edited by ukoenig on Thu Oct 17, 2019 1:20 pm, edited 2 times in total.
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.
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: New FWH 19.09

Post by byte-one »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: New FWH 19.09

Post by nageswaragunupudi »

We will check this.
Regards

G. N. Rao.
Hyderabad, India
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: New FWH 19.09

Post by byte-one »

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
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: New FWH 19.09

Post by ukoenig »

For a better understanding.
The new test includes 2 compiled versions using FWH 19.06 and FWH 19.09

the difference :

Code: Select all

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

Image

regards
Uwe :D
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.
Ariel
Posts: 309
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Re: New FWH 19.09

Post by Ariel »

Probaste con :

Code: Select all

:bOnPostEdit:= { | oCol, xVal, nKey | If( nKey == VK_RETURN, oCol:value:= xVal,) }
 
Saludos.
Post Reply