FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index WhatsNew / Novedades New FTDN March/Marzo 2015 (FWH 15.03)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Fri Mar 20, 2015 10:22 AM

March 2015

  • New: function SetMGetColorFocus( nClrFocus ) same as SetGetColorFocus() but for GETs
    multilines.

  • Enhancement: Class TMultiGet support for color change on focus gain/loose.

  • New: function SetCbxColorFocus( nClrFocus ) same as SetGetColorFocus() but for
    ComboBoxes. We tried to take these functions into Class TControl may there are
    many side effects for other controls.

  • Enhancement: Class TComboBox support for color change on focus gain/loose.

  • XBrowser: Browse size now fits exactly the existing rows.

  • XBrowse:

  • Improvement: Improved painting of buttons when oCol:lBtnTransparent := .t.
  • Fix: Pressing Ctrl-C or Ctrl-R when there is no vertical scroll bar
    raises a runtime error because of unnecessary code handling K_PGUP and
    K_PGDN in method KeyChar(). This code is removed.
  • New Data lTabLikeExcel (default .f.). When set to .t. TAB key moves cursor
    to right as in Excel
  • New: Pivot Table Support:
    XBrowse automatically recognizes pivot-table array generated by
    FW_AdoPivotArray(...) function and properly displays pivot table.
    Syntax:
    @ r,c XBROWSE <clauses> DATASOURCE FW_AdoPivotArray(...) <other clauses>
    oBrw:SetArray( FW_AdoPivotArray(...) )
    oBrw:SetArray( aData, , , cPivotHead )
    See fwh\samples\pivotdbf.prg
    New Method: oBrw:InvertPivot() Inverts Pivot Browse
    -Datatypes +,= are recognized as readonly

  • BtnBmp:

  • Micro-alignment of prompts: When Layout is TOP,BOTTOM,LEFT,RIGHT,CENTER
    the prompts are aligned Bottom-Center, Top-Center, Right Justified, Left
    justified and centered vertically and horizontally.
    It is now possible to adjust the horizontal alignment within the prompt area.
    Padding space(s) on left right justifies, padding on right left justifies and
    padding on both sides centers horizontally within the area meant for the
    prompt.

  • With the combination of aBmpRect this offers greater possibilities to
    manage sizing and placement of bitmaps and prompts in the button area.

  • Now supports vertical fonts, though they are more meaningful in LEFT and
    RIGHT layouts.

  • If nClrText is a codeblock, it is now evaluated with two parameters,
    oBtn:lMOver and oBtn object. This enables changing colors on different
    states of the button.

  • New FLAT clause in the command: This creates the button similar to
    flatbtn.

  • When defining the button if width or height or both or ommitted,
    they are auto-calculated which may suit many occassions, mostly
    for LEFT and RIGHT layouts.

  • Fix: When FW_SetTruePixel is set to .T., some dialogs in fwh library
    are not displayed properly. Fixed: in all prgs of the library

  • Fix: Clause TRUEPIXEL of DEFINE DIALOG command is not setting Data
    lTruePixel to .T.. The command translate is fixed in dialog.ch

  • TruePixel behavior: When a dialog is created with TRUEPIXEL clause,
    the global setting of lTruePixel was set to .T., applying the
    setting to all dialogs in the project. This makes it impossible
    to selectively set the feature to newly created dialogs in an
    existing project. Now TRUEPIXEL clause affects only the dialog
    created with the clause and does not disturb other dialogs.
    However if FW_SetTruePixel( .t. ) is set to .T., then the
    setting applies to all dialogs created subsequently, irrespective
    of TRUEPIXEL clause till FW_SetTruePixel() is turned off.
    Now it is possible to use truepixel feature for new dialogs in
    an existing project without disturbing the existing code.

  • New: Pivot Tables (Crosstab).
    New functions in source\function\adofuncs.prg:
    FW_AdoPivotRS( oCn, cTable, cRowFld, cColFld, cValFld, [cAggrFunc] ) --> Ado RecordSet
    FW_AdoPivotArray( oCn, cTable, cRowFld, cColFld, cValFld, [cAggrFunc] ) --> Array
    with first row as headers
    Note: Field names containing reserved words are properly escaped.
    cRowFld and cColFld can contain simple expressions valid for the
    database. Eg: "YEAR(SALEDATE) AS YEAR".

  • Enhancement: Implemented required FWStrings() use in printer.prg

  • Fix: bitmap.prg: The new hbitmap object created when resizign is
    necessary is not being destroyed. Fixed now

viewtopic.php?f=3t=30352

  • Fix: Class TGet Methods CreateButton(), GotFocus() and LostFocus() have
    been modified so a GET button (clause ACTION) with a WHEN .F. get the focus:

viewtopic.php?p=174059#p174059

Many thanks to Alexandre Pereira!

  • Fix: Class TUrlLink Method Destroy was missing so it was leaking
    bitmaps handles. Now it is ok. Thanks to Daniel!

&

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 410
Joined: Sun Jan 31, 2010 03:30 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Mon Mar 23, 2015 04:06 PM

Fix: Pressing Ctrl-C or Ctrl-R when there is no vertical scroll bar
raises a runtime error because of unnecessary code handling K_PGUP and
K_PGDN in method KeyChar(). This code is removed.

Antonio... tengo ese error en mi versiΓ³n 15.01... como puedo corregir el xbrowse

Jonsson Russi

Posts: 375
Joined: Tue Feb 10, 2015 09:48 AM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Mon Mar 23, 2015 04:25 PM
russimicro wrote:Fix: Pressing Ctrl-C or Ctrl-R when there is no vertical scroll bar
raises a runtime error because of unnecessary code handling K_PGUP and
K_PGDN in method KeyChar(). This code is removed.

Antonio... tengo ese error en mi versiΓ³n 15.01... como puedo corregir el xbrowse

Jonsson Russi

viewtopic.php?f=3&t=30284
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Fri Apr 03, 2015 03:13 AM

Error con fivewin 15.03 MSVC++ con la 15.02 no da esas advertencias

simplemente al querer crear el wecam.exe que esta en fwh\samples

con buildh32

Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Fri Apr 03, 2015 06:25 AM

Luis,

Imagino que lo estΓ‘s haciendo asi:

buildh32 webcam

Puedes copiar aqui los mensajes que te aparecen ? gracias

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Fri Apr 03, 2015 07:24 AM

C:\fwh\samples>buildh32 webcam

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ FiveWin for Harbour 15.03 (MSVC++) Mar. 2015 Harbour development power β”‚β–„
β”‚ (c) FiveTech, 1993-2015 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8 β”‚β–ˆ
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β–ˆ
Β  β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€
Compiling...
Harbour 3.2.0dev (r1412151448)
Copyright (c) 1999-2014, http://harbour-project.org/
Compiling 'webcam.prg' and generating preprocessed output to 'webcam.ppo'...
Lines 4405, Functions/Procedures 2
Generating C source output to 'webcam.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86
Copyright (C) Microsoft Corporation. All rights reserved.

webcam.c
Creating library webcam.lib and object webcam.exp
FiveHC32.lib(SCINTILC.obj) : warning LNK4217: locally defined symbol _fclose imported in function _HB_FUN_SCI_OPENFILE
FiveHC32.lib(SCINTILC.obj) : warning LNK4217: locally defined symbol _fopen imported in function _HB_FUN_SCI_OPENFILE
FiveHC32.lib(SCINTILC.obj) : warning LNK4217: locally defined symbol _fread imported in function _HB_FUN_SCI_OPENFILE
FiveHC32.lib(WEBCAM.obj) : error LNK2019: unresolved external symbol _capCreateCaptureWindowA@32 referenced in function _HB_FUN_WEBCAM_CAPTUREWINDOW
FiveHC32.lib(WEBCAM.obj) : error LNK2019: unresolved external symbol _capGetDriverDescriptionA@20 referenced in function _HB_FUN_WEBCAM_GETDRIVERDESCRIPTION
webcam.exe : fatal error LNK1120: 2 unresolved externals
* Linking errors *

Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Fri Apr 03, 2015 11:10 AM

Luis,

ok, solucionado.

te envio por email las librerias corregidas.

Hay que enlazar tambien la libreria vfw32.lib de Microsoft. He modificado buildh32.bat aΓ±adiendo esta lΓ­nea:

echo vfw32.lib >> msvc.tmp

muchas gracias :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Fri Apr 03, 2015 11:57 AM

Gracias Maestro Antonio Solucionado

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 March/Marzo 2015 (FWH 15.03)
Posted: Sat Apr 04, 2015 05:05 AM

Maestro Antonio

fwh 15.03 MSVC 2012 y harbour 3.2
en 32 bits trabaja bien
harbour_3.2_32bits_MSVC2013_20142906

en 64 bits
harbour_3.2_64bits_MSVC2013_20142906

al probar testimg y tesimg2
con fwh64

build64 tesimg
crea el ejecutable bien, pero al darle seleccionar imagen deja de funcionar testimg.exe

build64 tesimg2
cambio la ubicaciΓ³n de la imagen por una .png y sale que no puede cargar FreeImage64.dll
si la dejo la imagen que trae por defecto no sale el error al cargar la dll

Gracias de Antemano

Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Sat Apr 04, 2015 09:14 AM
Luis,

Solucionado, te envio por email las librerΓ­as corregidas. Muchas gracias :-)

He modificado Testimg2.prg de esta manera:
Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   local oDlg, oImg 
   
   DEFINE IMAGE oImg FILENAME "..\bitmaps\olga1.jpg"

   DEFINE DIALOG oDlg TITLE "Image background"

   ACTIVATE DIALOG oDlg CENTERED ;
      ON INIT ( oDlg:SetSize( oImg:nWidth, oImg:nHeight ), oDlg:Center() ) ;    
      ON PAINT PalBmpDraw( hDC, 0, 0, oImg:hBitmap )
      
   oImg:End()   

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 133
Joined: Mon May 12, 2008 04:13 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Sat Apr 04, 2015 03:34 PM

Gracias Maestro Antonio Solucionado

Fivewin 16.11
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql

Ing. MSc. Luis Duque
http://www.accasoft.net
Posts: 470
Joined: Fri Feb 05, 2010 11:30 AM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Fri May 01, 2015 01:38 AM

Antonio,
estoy probando el buildh32.bat y tambiΓ©n me hace el defecto, serΓ­as tan amable de
pasarme la correcciΓ³n tambiΓ©n?
Muchas gracias!
Roberto

Univ@c I.S.I.
Desarrolladores de Software
http://www.elcolegioencasa.ar
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Fri May 01, 2015 03:34 PM

Roberto,

Enviadas! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Sun May 03, 2015 04:53 PM

Published new / Publicado nuevo build 2 de FWH 15.04

For Visual Studio users, FWH 15.04 build 2 uses the new Visual Studio Community Edition
Para los usuarios de Visual Studio, FWH 15.04 build 2 usa el nuevo Visual Studio Community Edition

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Posted: Mon May 04, 2015 05:33 AM

Antonio, la version de Harbour de Diciembre para VS se puede utilizar con VS2015 RC Community?

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la nociΓ³n del tiempo

El secreto de la felicidad no estΓ‘ en hacer lo que te gusta, sino en que te guste lo que haces