FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index WhatsNew / Novedades New FTDN August/Agosto 2015 (FWH 15.08)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Wed Sep 09, 2015 09: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
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Sun Sep 13, 2015 05: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Sun Sep 13, 2015 08:01 AM

Luis,

Estamos revis谩ndolo, muchas gracias! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Tue Sep 15, 2015 06: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
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Wed Sep 16, 2015 03: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Wed Sep 16, 2015 06: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
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Wed Sep 16, 2015 06: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
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Wed Sep 16, 2015 08: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: 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
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Thu Sep 17, 2015 02: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Thu Sep 17, 2015 03:03 PM

Luis,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Thu Sep 17, 2015 03: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN August/Agosto 2015 (FWH 15.08)
Posted: Fri Sep 18, 2015 10:44 AM

Luis,

Enviadas por email, gracias!

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion