... normal. Podríamos ver la forma de que la clase TPrinter también la usase, de forma parametrizable. En cuanto a la velocidad, si has modificado cTempFile() como te hemos indicado, es totalmente correcta. Aqui hemos modificado el ejemplo para crear 100 hojas y las crea muy rápido.
De momento, he puesto en la función cTempFile un msgwait para darle vidilla. Pero sigue tardando demasiado y la ventana del 'building page' sigue 'missing'.
Manuel, En el build de Abril hemos usado la función cTempFile() para asignarle los nombres a los ficheros temporales usados por los metafiles para el preview, pero esta función cTemFile() consume mucho tiempo por su diseño. Hay que cambiarla de esta ...
FWH April users may change this function to get much faster printing previews: function cTempFile( cPath, cExtension ) // returns a temporary filename local cFileName static cOldName DEFAULT cPath := "", cExtension := "" if ! "." ...
... previsualización de la impresión estaba fallando al mostrar las páginas en pantallas de alta resolución. Ahora está correcta. * Mejora: La función cTempFile() ahora soporta dos parámetros opcionales: function cTempFile( [cPath], [cExtension] ) --> cFileName * Corrección: En el método lEditCol ...
... please use such flag too. * Fix: Printer Preview was failing to show the pages on high screen resolutions. Now it is ok. * Enhancement: function cTempFile() now supports two optional parameters: function cTempFile( [cPath], [cExtension] ) --> cFileName * fix: Class TCBrowse Method lEditCol, ...
Rimantas, Please try this cTempFile() source code: [/code] Excuse me , Antonio , the function is working OK :-)) . I forget to set DBFFPT lib , because some fields in SQL database are as "MEMO" and so USE command didn't worked . Today ...
Hello James ! Thanks for your reply . But I found that the problem isn't here . It's cTempFile() function : function cTempFile() // returns a temporary filename local cFileName static cOldName while File( ( cFileName := StrTran( Time(), ":", "" ) ) ) .or. ; cFileName ...
It seems that it's a problem with this class . I reviewed and found that in Open method it can't open temporary dbf . It seems that this is related to this : DEFAULT ::cFileName := cTempFile(GetEnv("TEMP"),"DBF")