New FWH 19.09

New FWH 19.09

Postby Antonio Linares » Sun Oct 13, 2019 11:14 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FWH 19.09

Postby ukoenig » Sun Oct 13, 2019 5: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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: New FWH 19.09

Postby shri_fwh » Mon Oct 14, 2019 4: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 19.12, BCC 7 32 bit, MariaDB
shri_fwh
 
Posts: 301
Joined: Mon Dec 07, 2009 2:49 pm

Re: New FWH 19.09

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FWH 19.09

Postby nageswaragunupudi » Tue Oct 15, 2019 4: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: Select all  Expand view
#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: 10641
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: New FWH 19.09

Postby nageswaragunupudi » Tue Oct 15, 2019 4: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
User avatar
nageswaragunupudi
 
Posts: 10641
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: New FWH 19.09

Postby MOISES » Tue Oct 15, 2019 8:39 am

Hello,

Can you please look at this?

viewtopic.php?f=3&t=37792

Thank you
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

Re: New FWH 19.09

Postby ukoenig » Tue Oct 15, 2019 2: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 :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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: New FWH 19.09

Postby nageswaragunupudi » Tue Oct 15, 2019 3: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
User avatar
nageswaragunupudi
 
Posts: 10641
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: New FWH 19.09

Postby ukoenig » Tue Oct 15, 2019 5: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

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

Re: New FWH 19.09

Postby byte-one » Wed Oct 16, 2019 7: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: New FWH 19.09

Postby nageswaragunupudi » Wed Oct 16, 2019 8:22 am

We will check this.
Regards

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

Re: New FWH 19.09

Postby byte-one » Wed Oct 16, 2019 8: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: New FWH 19.09

Postby ukoenig » Thu Oct 17, 2019 8:25 am

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

the difference :
Code: Select all  Expand view

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

Re: New FWH 19.09

Postby Ariel » Thu Oct 17, 2019 10:18 am

Probaste con :
Code: Select all  Expand view

:bOnPostEdit:= { | oCol, xVal, nKey | If( nKey == VK_RETURN, oCol:value:= xVal,) }
 


Saludos.
Ariel
 
Posts: 376
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 94 guests