Search found 53 matches: ameta

Return to advanced search

Re: Calculate total pages

... the invoice button is pressed, these steps are executed: Best regards, Otto    oDevice := DEVICE   aFiles  := oDevice:aMeta   hMeta   := oMeta1:hMeta    cUniqueID := cUniqueID()       CursorWait()   ...
by Otto
Fri Nov 24, 2023 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5857

Number Total Pages

on a Report from Xbrowse I use a function I wisth show the total pages I tried with LTrim( Str( Len( oRep:oDevice:oDevice:aMeta ) ) ) but not run oBrw:Report( cTitle, , , ; { |oRep, oBrw| MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,aFields ) }) function MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,afields ...
by Silvio.Falconi
Fri Jun 23, 2023 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Number Total Pages
Replies: 2
Views: 259

EMF - Enhanced meta file no se borran

... Local aFiles:={} aFiles:=Directory(getenv('TEMP')+'\emf.*') PRINT oPrn NAME 'impresión' PREVIEW MODAL aEval(aFiles,{|x,y| aAdd(oPrn:aMeta, cPath+x[1] ) }) ENDPRINT aEval(aFiles,{|x,y| FERASE( cPath+x[1] ) }) RETU .T. Informacion correspondiente a la clase printer.prg de las versiones ...
by mterraz
Mon Aug 06, 2018 10:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EMF - Enhanced meta file no se borran
Replies: 0
Views: 569

Re: How to edit a EMF file

Look Len( ::oDevice:aMeta )
by cnavarro
Wed Mar 21, 2018 10:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to edit a EMF file
Replies: 13
Views: 1550

Re: Clase Printer [ Liberar memoria ]

Antonio

El método BuildListView() de la clase TPrview es el causante del consumo de memoria.
Al cargar las imágenes en TImageList() del arreglo ::oDevice:aMeta

Saludos
by Vikthor.Thomas
Fri Dec 02, 2016 8:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase Printer [ Liberar memoria ]
Replies: 4
Views: 690

Re: Diseños con preview en tiempo de ejecución

Tienes que crear un objeto metafile: ::oMeta1 := TMetaFile():New( 0, 0, 0, 0,; ::oDevice:aMeta[ 1 ],; ::oWnd,; CLR_BLACK,; CLR_WHITE,; ::oDevice:nHorzRes(),; ::oDevice:nVertRes() ) que es el que visualiza los metafiles en el preview
by Antonio Linares
Fri Mar 11, 2016 7:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Diseños con preview en tiempo de ejecución
Replies: 4
Views: 563

Re: Numero total paginas en report.

Marcelo: la solucion sirve SOLO si haces PREVIEW. Si mandas directo a la impresora no se crea oPrn:aMeta Estuve revisando la clase TImprime.prg de TheFull y tiene el siguiente codigo:        if lPageCount .AND. ::oPrn:lMeta    // Quiero poner ...
by RSalazarU
Sun Jan 10, 2016 12:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Numero total paginas en report.
Replies: 10
Views: 1729

Re: Control Botón de Impresión

... CLASS TPreview local hMeta := ::oMeta1:hMeta local oDlg, oRad, oPageIni, oPageEnd local nOption := 1, nFirst := 1, nLast := Len( ::oDevice:aMeta ) // DEVICE local oThis := Self local lCancel := .t. if nLast != 1 DEFINE DIALOG oDlg SIZE 400, 183 TITLE FWString( "Printing" ) oDlg:lTruePixel ...
by luisduque
Thu Sep 10, 2015 7:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Control Botón de Impresión
Replies: 8
Views: 1423

bug Fivewin printer.prg

... temporal metafile could not be created",; "Printer object Error" ) MsgAlert("Could not create temporary file: "+Atail(::aMeta)+CRLF+CRLF+; "Please check your free space on your hard drive "+CRLF+; "and the amount of files handles available." ,; "Print ...
by MOISES
Thu Feb 26, 2015 6:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: bug Fivewin printer.prg
Replies: 1
Views: 759

Re: RPreview mal en xp

... http://youtu.be/LWdBL191l40 Para poder controlar los .EMF, incluí el siguiente código en el prv2pdf.prg y antes del "AEval( oDevice:aMeta, { | cMeta | oPdf:AddMeta( cMeta ) } )" AEval( oDevice:aMeta, { | cMeta | Tracelog( "cMeta:" + cMeta ) } ...
by rolando
Fri Oct 11, 2013 12:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPreview mal en xp - SOLUCIONADO (a medias)
Replies: 52
Views: 11457

Re: Crear un Objeto

... 1,  2,va150 ,ofont1)ENDPAGEENDPRINT Como se en este ejemplo el nombre del archivo EMF que crea el PREVIEW. Gracias Carlos Estara en oPrn:aMeta[1], si no me equivoco Prueba esto directamente: #include "fivewin.ch"#include "print.ch"Function Main()Local oFont1Local ...
by cnavarro
Tue Sep 17, 2013 6:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear un Objeto
Replies: 19
Views: 2753

Re: New FWH 13.07 revised build

... I got the gpf between MsgInfo("cName") and MsgInfo("cFile"). There is only 1 line in between : cFile := cFilePath( ::oDevice:aMeta[ 1 ] ) + StrTran( cName, '.', '' ) + ; Left( HB_TToS( HB_DateTime() ), 14 ) + ".pdf" Any idea? Thanks.
by driessen
Fri Aug 23, 2013 4:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 13.07 revised build
Replies: 28
Views: 6736

METHOD PrintPage() CLASS TPreview

... .T. ) ; OF oDlg REDEFINE GET oPageFin ; VAR nLast ID 107 PICTURE "@K 99999" ; VALID If( nLast < nFirst .or. nLast > Len( ::oDevice:aMeta ), ; // DEVICE ( MsgBeep(),.F. ), .T.) OF oDlg oPageIni:Disable() oPageFin:Disable() SetResources( hOldRes ) ACTIVATE DIALOG oDlg ON INIT Msginfo( ...
by thefull
Mon Feb 27, 2012 5:31 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: METHOD PrintPage() CLASS TPreview
Replies: 0
Views: 640

Re: Numero total paginas en report.

Este tema a sido el coco para muchos de nosotros aMeta, conforme va generando la pagina va incrementando el valor del array, asi que no vale si no hasta el final que termina de generar. solucion no muy ortodoxa es contar cuantos registros caben en ...
by Mauricio
Tue Nov 08, 2011 7:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Numero total paginas en report.
Replies: 10
Views: 1729

Re: Numero total paginas en report.

Tras las pruebas hechas, Con : LEN(oReport:oDevice:aMeta) , no se si la pongo donde toca pero me sale pagina 1 de 1, pagina 2 de 2 así hasta el final, pero no pagina 1 de 12 La pongo en : FOOTER OemtoAnsi("Pagina: ")+str(oReport:nPage,3)+" ...
by Garbi
Tue Nov 08, 2011 6:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Numero total paginas en report.
Replies: 10
Views: 1729
Next

Return to advanced search