Page 1 of 1

New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Wed Sep 09, 2015 9:12 am
by Antonio Linares
August 2015
==========

* Enhancement: treport.prg: New data nRptAlign. By setting oRep:nRptAlign
to RPT_RIGHT or RPT_LEFT, a report can be aligned to Right or Left of the
page instead of the default Center.

* New: function SetCustomPrintPreview( bPreview (0r) NIL )
It is possible to design a custom print preview program and get
all print/report previews redirected to the custom preview
function.
Example: SetCustomPrintPreview( { |oPrn, oRep| MyPreview( oPrn, oRep ) } )
SetCustomPrintPreview( NIL ) // cancels

* Fix: FW_AdoExportToDBF(...) in \source\function\adofuncs.prg: Fixed run-time
error while Exporting mpty tables.

* Enhancement: adofuncs.prg
- function FWAdoCreateTable( cTable, aCols, oCn, [ lAddAutoInc := .t. ] )
Existing behavior:
By default, the function inserts an autoincrement primary key column
with the name "ID", if the aCols[ 1 ] is already not of type "+"
This behavior can be suppressed by setting the 4th parameter to .F.
New:
If it is desired that the name of the primary key should be different from
"ID", the required name can be specified in the 4th parameter as character
variable
Example: function FWAdoCreateTable( cTable, aCols, oCn, "ROWID" )

- FW_AdoImportFromDBF( oCn, cDbf, [cAdoTable], [cColPrefix], [nMultiRowSize],
[aFields], [cAutoIncFld] )
It is not possible to specify a different name for autoincrement primary key
instead of the default "ID" in the 7th parameter

* New: function IsTabletMode() --> .f./.t.
In Windows 10, user can switch between DeskTop mode and tablet mode, on PC,
Tablet, phone. This function returns .t. when the OS is Windows 10 and
display is in Tablet mode.

* Fix: Non modal dialogboxes (or resources and from memory template) were not
properly working with FWH Unicode FW_SetUnicode( .T. ). Now it is ok.

* Enhancement: Updated Class TScintilla to support 64 bits

* New: DATA bLeftText and bLeftFooter in TXBrwColumn object. When specified, the
result is painted left justified in addition the main text. Userful for currencies,
units. Common currencies are automatically identified and left justfied.

* Enhancement: XBrowse: Unicode UTF-16 and UTF-8 texts are automatically displayed
by xbrowse. Notes: Programmer needs to set correct column widths manually. Editing
is not possible.

* Enhancement: implemented Menus colors ( text and background ) of left panel and right panel of submenus

* New: Unicode support for TReport and TPrinter classes

* New: Unicode support for TBtnBmp class

* New: Add functions to file unicode.c for say characters unicode
- HB_FUNC( TEXTOUTW ) // hDC, nRow, nCol, cText, nLen
To use with hDC
- HB_FUNC( WTEXTOUTW ) // hWnd, nRow, nCol, cText, nLen
To use with hWnd

* New: Added file in folder samples to use Unicode and functions TextOutW and WTextOutW
- TestUni2.prg and TestUni2.rc

* Fix: Class TFolderEx, delete tab error, fixed

* Enhancement: Updated scintilla DLLs, thanks to Cristobal!

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Sun Sep 13, 2015 5:11 am
by luisduque
Maestro Antonio

Se que unas de las mejoras de la versión 15.08 es el tema UniCode, sin embargo al hacer unas pruebas no salen caracteres como acentos ñ y caracteres que no son ASCII que están en nuestro idioma español a la hora de pre-visualizar un informe, por otro lado puedes probar el ejemplo testbtb.prg de samples y por curiosidad puedes cambiar
@ 450, 5 BTNBMP oBot04 PROMPT "Test &2" OF oDlgw SIZE 200, 70 WHEN lWhen ;
por esto
@ 450, 5 BTNBMP oBot04 PROMPT "&Secciónes" OF oDlgw SIZE 200, 70 WHEN lWhen ;

y el botón aparece con caracteres en Mandarín.

Coloque algunas instrucciones pero igual

REQUEST HB_LANG_ESWIN
REQUEST HB_CODEPAGE_ESWIN
HB_CDPSELECT("ESWIN")
HB_LangSelect( "ES" )
FW_SetUnicode(.T.)

Gracias.

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Sun Sep 13, 2015 8:01 am
by Antonio Linares
Luis,

Estamos revisándolo, muchas gracias! :-)

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Tue Sep 15, 2015 6:18 am
by Antonio Linares
New build 2 already available:

1) Fix: Wrong printing and display of accented characters in some cases
is fixed.

2) Clipboard: Method SetText() fully supports Unicode text also.
New Method GetUnicodeText() copies unicode or ansi text from the clipborad

3) XBrowse supports Pasting of unicode text into cells.

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Wed Sep 16, 2015 3:04 am
by luisduque
Maestro Antonio.

No se que pueda tener el build 2, tanto en 32 bits como en 64 bits entro a cualquier opción del menú y error de windows, con el build de la versión 15.08 solo era lo de los caracteres unicode con esta no deja nada y en una prueba de previsualizacion me cambio a otro carácter especial la ñ, solo como ejemplo.

Gracias.

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Wed Sep 16, 2015 6:28 am
by Antonio Linares
Luis,

Puedes comprobar si te genera un fichero log ?

Puedes proporcionarme un ejemplo para reproducirlo ? gracias!

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Wed Sep 16, 2015 6:18 pm
by luisduque
Maestro Antonio

Para que puedeas ver el error en samples construye el testxbrw.prg y pruebas y te sale el error con browse array data, que es la segunda opcio de izquierda a derecha

puede ser que el error tenga que ver con dbf al crearlos, porque en samples da error testrpt1..2...3 todos

Aunque trabajo todo con MySql o MariaDB, a veces uso dbf como temporales en los xbrowse

Pero por otro lado la ñ en informes me la transforma a ¤

Gracias Maestro

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Wed Sep 16, 2015 8:29 pm
by luisduque
Maestro Antonio

lo de los informe si esta arreglado lo que pasa es que cuando hice las primeras prueba le comente
REQUEST HB_CODEPAGE_ESWIN
HB_CDPSELECT("ESWIN")
para probar pero en informes si esta correcto

y el error que esta dando es al crear dbf te das cuenta con testxbrw y testrtp1 en samples


Gracias

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Thu Sep 17, 2015 10:20 am
by Antonio Linares
Luis,

Tenemos nuevas modificaciones en FWH 15.08 debido a la implementación de unicode.

Si lo deseas puedo enviarte las nuevas librerías para que las pruebes.

Muchas gracias

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Thu Sep 17, 2015 2:53 pm
by luisduque
Maestro Antonio

Si enviame las libreria para revisar de una vez, la ventaja es que como tenemos ya un sistema estable ERP antes de colocar una actualización repasamos todo el sistema y probamos desde windows XP hasta Windows 10, y en 32 bits y 64 bits, en la 15.07 perfecto. Con las libreria hago el test y le aviso Maestro



Gracias

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Thu Sep 17, 2015 3:03 pm
by Antonio Linares
Luis,

Para 32 bits necesitas la versión de Microsoft ó de Borland ? gracias!

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Thu Sep 17, 2015 3:13 pm
by luisduque
Maestro Antonio

Microsoft 2013

Re: New FTDN August/Agosto 2015 (FWH 15.08)

PostPosted: Fri Sep 18, 2015 10:44 am
by Antonio Linares
Luis,

Enviadas por email, gracias!