New FTDN August/Agosto 2015 (FWH 15.08)

New FTDN August/Agosto 2015 (FWH 15.08)

Postby Antonio Linares » Wed Sep 09, 2015 9:12 am

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!
regards, saludos

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

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

Postby luisduque » Sun Sep 13, 2015 5:11 am

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.
Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
luisduque
 
Posts: 133
Joined: Mon May 12, 2008 4:13 pm
Location: Venezuela

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

Postby Antonio Linares » Sun Sep 13, 2015 8:01 am

Luis,

Estamos revisándolo, muchas gracias! :-)
regards, saludos

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

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

Postby Antonio Linares » Tue Sep 15, 2015 6:18 am

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.
regards, saludos

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

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

Postby luisduque » Wed Sep 16, 2015 3:04 am

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.
Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
luisduque
 
Posts: 133
Joined: Mon May 12, 2008 4:13 pm
Location: Venezuela

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

Postby Antonio Linares » Wed Sep 16, 2015 6:28 am

Luis,

Puedes comprobar si te genera un fichero log ?

Puedes proporcionarme un ejemplo para reproducirlo ? gracias!
regards, saludos

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

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

Postby luisduque » Wed Sep 16, 2015 6:18 pm

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
Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
luisduque
 
Posts: 133
Joined: Mon May 12, 2008 4:13 pm
Location: Venezuela

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

Postby luisduque » Wed Sep 16, 2015 8:29 pm

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
Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
luisduque
 
Posts: 133
Joined: Mon May 12, 2008 4:13 pm
Location: Venezuela

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

Postby Antonio Linares » Thu Sep 17, 2015 10:20 am

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
regards, saludos

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

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

Postby luisduque » Thu Sep 17, 2015 2:53 pm

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
Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
luisduque
 
Posts: 133
Joined: Mon May 12, 2008 4:13 pm
Location: Venezuela

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

Postby Antonio Linares » Thu Sep 17, 2015 3:03 pm

Luis,

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

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

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

Postby luisduque » Thu Sep 17, 2015 3:13 pm

Maestro Antonio

Microsoft 2013
Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
luisduque
 
Posts: 133
Joined: Mon May 12, 2008 4:13 pm
Location: Venezuela

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

Postby Antonio Linares » Fri Sep 18, 2015 10:44 am

Luis,

Enviadas por email, gracias!
regards, saludos

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


Return to WhatsNew / Novedades

Who is online

Users browsing this forum: No registered users and 6 guests