FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index WhatsNew / Novedades New FTDN May 2015 (FWH 15.05)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
New FTDN May 2015 (FWH 15.05)
Posted: Fri Jun 05, 2015 11:15 AM

May 2015

  • Fix: function OfficeExtractImage() in olefuncs.prg: This was not working
    with Harbour due to some issues with the version of HB_UnzipFile() of
    Harbour. Workaround implemented.

  • Enhancement: TXImage class. New Method Rotate( nDegrees )

  • Fix: XBrowse: OrdKeyGoTo(n) is not working for ADS when there is
    no controlling index. Workaround implemented.

  • Fix: btnbmp.prg: Runtime error when the btnbmp is created as a button
    of Outlook control. Fixed.

viewtopic.php?f=6t=30669

  • Fix: Class TGraph Method MouseMove() was not showing the tooltip
    in the right part of the graph. Now it is ok:

viewtopic.php?p=177183#p177183

  • Improvement: Painting of combometro improved.

  • XBROWSE: Enhancements:
    METHOD ToExcel() New optional 4th Parameter lShow ( default .t. )
    If specified as .f., the excel is generated but not displayed.
    As in earlier versions the method returns oSheet object that is
    generated for further use by the programmer.

New METHOD ToHTML( cHtmlFile, [lShow := .t.] ) --> Saved cHtmlFile with full path
Parameter-1: cHtmlFile: Name of the html file to be saved.
Parameter-2: lShow (optional). Default value is .t.. If lShow is .t.,
the html is displayed in default browser.
Return value: Saved html file with full path.

New METHOD ToWord( bProgress, aCols, nTableFormat, nOrientation ) --> oWordDoc
By Mr. Anser K.K.
Parameters bProgress and aCols have the same meaning as in method ToExcel()
nTableFormat: 0 to 42. Please see defined constants in xbrowse.ch. Default is 23
nOrientation: 0 : Protrait and 1 : Landscape. Default 0
returns oDoc object.

Exportto Word from Preview exports the printed output as images to
the Word Document. XBrowse method ToWord() exports data as Table of
word document.

New Method PaintText() class TXBrwColumn:
Code reating to painting of text is separated from method PaintCell()
as new mthod PaintText() to enable easy sublcassing.

  • New: Greatly improved menus:

  • It allows to mix different styles ( 2007, 2010, 2013, 2015 ) in the same main menu

  • You can define the colors for the background, text, etc

  • You can set a font for the menu

  • Support for glyphs (Segoe Symbol, or other FONTs ), or simply standard chars,
    instead of resources

  • Backwards compatibility with previous 2007, 2010 styles and add a new 2015 style, styles
    another named as 2013 and finally a default FW style (these both are configurables)

  • On these confugurables menus you canj choose to show vertical lines, colors and more

  • It supports unicode without using Fw_SetUnicode( .T. )

  • Many thanks to Cristobal Navarro for this great contribution!

  • Fix: Function IsBinaryData() was returning .t. when the text buffer contained chr(12).
    Now fixed.

  • New: function IsTextUnicode( cBuffer ) returns .t. if the buffer is unicode
    text.

  • Enhancement TBTNBMP. Now btnbmp also can use the selected Desktop theme.
    Themes are applied only to btnbmps not defined with 2007 or 2010 or FlatStyles.
    Changing desktop theme when the application is running repaints the
    themed buttons using the current theme selected.

Usage:
Global Setting: TBtnBmp():lDefaultTheme := lOnOff // default .f.
From the time this class data is set to true, all BtnBmp created (without
200? or flat style) are painted using the selected theme.

Individual buttons can also be set as themed or not themed by setting
oBtn:SetThemed( lOnOff ), overriding the global setting.

Thanks to Mr Antonio Perricone.

viewtopic.php?f=22t=30403

&&

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN May 2015 (FWH 15.05)
Posted: Sat Jun 06, 2015 09:22 AM

New build 2 of FWH 15.05 is already available to download

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 492
Joined: Wed Nov 16, 2005 12:03 PM
Re: New FTDN May 2015 (FWH 15.05)
Posted: Mon Jun 08, 2015 10:19 AM

Antonio
Saludos,

Descargue FW2015 estoy compilando samples y estoy muy sorprendido y agradecido por tus grandes avances con FiveTech, una herramienta muy completa, competitiva , seguro podemos construir un ERP Open Source (Tiene las virtudes y las herramientas), he estado en conversaciones con consultores SAP que desarrollan en ABAP y Harbour + FiveWin tienen muchas ventajas.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN May 2015 (FWH 15.05)
Posted: Mon Jun 08, 2015 11:41 AM

Juan,

Sería estupendo :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN May 2015 (FWH 15.05)
Posted: Fri Jun 12, 2015 10:11 PM

New build 3 of FWH 15.05 is already available to download

  • Enhancement: function cWinVersion() now returns 10 for Windows 10.

  • New: function IsWindows10() --> lYesNo

  • Enhancement: xbrowse.prg calls to OleDefaultArg() are replaced by FWH
    function AdoDefault(), since older versions of Harbour did not have the
    function OleDefaultArg()

  • Enhancement: Class TCheckBox Method Redefine() was missing DEFAULT lUpdate
    to .F.. Now it is ok:

viewtopic.php?p=177731#p177731

many thanks to Antonino!

  • Fix: function SetWindowThem() was not properly working. Now it is ok:

viewtopic.php?p=177758#p177758

many thanks to Antonino!

New example FWH\samples\themes.prg

  • Fix: In FWH64 there were some errors in treeview.c. Now it is ok.

  • Fix: Class TListView was defaulting to an array of prompts that caused
    a wrong behavior. Now it is ok:

viewtopic.php?p=177759#p177759

many thanks to Antonino!

  • Enhancement: Class TImageList Method New(), call to low level Windows
    API function required a different parameter ILC_COLOR32:

viewtopic.php?p=177759#p177759

many thanks to Antonino!

  • Fixed: Missing Class TMenu METHOD UnCheckAll(). Restored.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN May 2015 (FWH 15.05)
Posted: Tue Jun 16, 2015 12:18 PM

New build 4 of FWH 15.05 is already available to download

  • Enhancement: function cWinVersion() now returns 10 for Windows 10.

  • New: function IsWindows10() --> lYesNo

  • Enhancement: xbrowse.prg calls to OleDefaultArg() are replaced by FWH
    function AdoDefault(), since older versions of Harbour did not have the
    function OleDefaultArg()

  • Enhancement: Class TCheckBox Method Redefine() was missing DEFAULT lUpdate
    to .F.. Now it is ok:

viewtopic.php?p=177731#p177731

many thanks to Antonino!

  • Fix: function SetWindowThem() was not properly working. Now it is ok:

viewtopic.php?p=177758#p177758

many thanks to Antonino!

New example FWH\samples\themes.prg

  • Fix: In FWH64 there were some errors in treeview.c. Now it is ok.

  • Fix: Class TListView was defaulting to an array of prompts that caused
    a wrong behavior. Now it is ok:

viewtopic.php?p=177759#p177759

many thanks to Antonino!

  • Enhancement: Class TImageList Method New(), call to low level Windows
    API function required a different parameter ILC_COLOR32:

viewtopic.php?p=177759#p177759

many thanks to Antonino!

  • Enhancement: XBrowse.prg. Does not require freeimage.dll for most commonly
    used imagetypes like BMP,ICO,PNG,GIF,JPG,TIF whether used as file ref or
    image data. It is not needed to provide freeimage.dll along with the
    application. In case other image types are used in the program, freeimage.dll
    is used only if present and does not raise an error.

  • FreeImage.Dll: No more required along with the Exe, as long as the
    application does not use any image file/buffer/resource of image formats
    other than BMP, ICO, PNG, GIF, JPG, TIF.
    However TImage class continues to use FreeImage.dll. The new TXImage class
    does not require this dll for common image formats.
    The dll is required along with the application only when TImage class is
    used in the application or any image format other than the above
    formats are used in the application.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion