New FTDN March/Marzo 2015 (FWH 15.03)
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
New FTDN March/Marzo 2015 (FWH 15.03)
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
http://forums.fivetechsupport.com/viewt ... =3&t=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:
http://forums.fivetechsupport.com/viewt ... 59#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!
==========
* 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
http://forums.fivetechsupport.com/viewt ... =3&t=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:
http://forums.fivetechsupport.com/viewt ... 59#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!
-
- Posts: 179
- Joined: Sun Jan 31, 2010 3:30 pm
- Location: Bucaramanga - Colombia
Re: New FTDN March/Marzo 2015 (FWH 15.03)
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
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
Re: New FTDN March/Marzo 2015 (FWH 15.03)
http://forums.fivetechsupport.com/viewt ... =3&t=30284russimicro 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
Re: New FTDN March/Marzo 2015 (FWH 15.03)
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
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
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql
Ing. MSc. Luis Duque
http://www.accasoft.net
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Luis,
Imagino que lo estás haciendo asi:
buildh32 webcam
Puedes copiar aqui los mensajes que te aparecen ? gracias
Imagino que lo estás haciendo asi:
buildh32 webcam
Puedes copiar aqui los mensajes que te aparecen ? gracias
Re: New FTDN March/Marzo 2015 (FWH 15.03)
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 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
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql
Ing. MSc. Luis Duque
http://www.accasoft.net
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN March/Marzo 2015 (FWH 15.03)
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
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
Re: New FTDN March/Marzo 2015 (FWH 15.03)
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
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql
Ing. MSc. Luis Duque
http://www.accasoft.net
Re: New FTDN March/Marzo 2015 (FWH 15.03)
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
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
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql
Ing. MSc. Luis Duque
http://www.accasoft.net
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Luis,
Solucionado, te envio por email las librerías corregidas. Muchas gracias
He modificado Testimg2.prg de esta manera:
Solucionado, te envio por email las librerías corregidas. Muchas gracias
He modificado Testimg2.prg de esta manera:
Code: Select all
#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
Re: New FTDN March/Marzo 2015 (FWH 15.03)
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
Harbour 3.2.0
Visual Studio 2015 community
MariaDb/MySql
Ing. MSc. Luis Duque
http://www.accasoft.net
- TOTOVIOTTI
- Posts: 334
- Joined: Fri Feb 05, 2010 11:30 am
- Location: San Francisco - Córdoba - Argentina
Re: New FTDN March/Marzo 2015 (FWH 15.03)
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Roberto,
Enviadas!
Enviadas!
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN March/Marzo 2015 (FWH 15.03)
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
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
Re: New FTDN March/Marzo 2015 (FWH 15.03)
Antonio, la version de Harbour de Diciembre para VS se puede utilizar con VS2015 RC Community?
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.