* 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.
ukoenig wrote:Dear Antonio,
I noticed a problem with xBrowse
It seems celledit on doubleclick -> return doesn't save the values.
regards
Uwe
ukoenig wrote:Dear Antonio,
I noticed a problem with xBrowse
It seems celledit on doubleclick -> return doesn't save the values.
regards
Uwe
#include "fivewin.ch"
REQUEST DBFCDX
function Main()
RDDSETDEFAULT( "DBFCDX" )
XBROWSER "STATES.DBF" FASTEDIT
return nil
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
:bOnPostEdit:= { | oCol, xVal, nKey | If( nKey == VK_RETURN, oCol:value:= xVal,) }
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 56 guests