New FTDN December/Diciembre 2022 (FW 22.12)

New FTDN December/Diciembre 2022 (FW 22.12)

Postby Antonio Linares » Tue Jan 03, 2023 7:31 am

December 2022
=============

* Enhancement: Class TSkin now fully supports MDICHILD windows too. Please review new example
samples\skin3.prg and skin3.rc. A new theme Windows 11 style has also been implemented.
Thanks to Master Lailton!

* New: samples\webiew2.prg shows how you can use scripts from your html code using a TWebView object.

* Fix: Recent DLL.CH changes were not including changes for DLL32 FUNCTION too. This problem
appeared for xHarbour users, as xHarbour LoadLibrary() gets used instead of FWH LoadLibrary(),
and as xHarbour LoadLibrary() returns a "P" (pointer type) then it fails when calling Abs().
If you are a xHarbur user please remember to check this if you get an Abs() error.

* New: Class TBtnClr developed by Silvio Falconi. Please review samples\TestBtnClr.prg
many thanks to Silvio!

* Enhancement: Class TRibbonBar new DATA nQuickHigh and nQuickHigh use implementation instead of previous
fixed 32 value. Many thanks to Ubiratan!
http://fivetechsupport.com/forums/viewt ... 49#p255649

* New: FW_ASORT( aArray, [nStart], [nCount], [aColPos/bSort] ) --> aSorted
By default, this works just as normal ASort(), but if the
fourth parameter is an array of column numbers, a nested
sort is performed on multiple columns. For descending order,
specify the column number as negative number.
Eg: ASort( aArray,,{ 2, -4, 5 } )
Performs ascending sort of column 2 and where column 2 is
equal, descending sort on column 4 and so on.

* TGraph:
- Fix: Runtime error when printing PIE graph direct to printer
using DEFINE PRINTER (without creating as control) fixed.
http://forums.fivetechsupport.com/viewt ... 7f98b4af92
- Fix: PIE graph of PERIDD_VALUES either diaplays wrong data
or results in runtime error. Fixed.

* Trees (TLinkList class)
Now, items and nested subitems can be accessed using object
like syntax. Eg
? oTree:Americas:USA:Washington:Value

* New: function SHFileOperation(). Please review samples\dlgfile.prg. Many thanks to Jimmy
for telling us to adapt it to 64 bits and we have made it part of FWH, removing it from
dlgfile.prg sample

* XBROWSE:
- When using Incremental Filter feature, the totals are not
recalculated. Fixed.

- In fullgrid browse, if new data lFullGridClr is set to .T.,
the colors of each column is extended till bottom, like Excel.

* New functions in olefuncs.prg:
- WinHttpObj( [[@]cCls] ) --> oHttp
- FileSysObj() --> oFileSystem

* FWMariaRowSet:
- improvement in sorting speeds of char fields.

* New function FW_SaveThumbnail( cImage, cThumb, nWidth, [nHeight] )
--> lSuccess
in source\function\imgtxtio.prg
regards, saludos

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

Re: New FTDN December/Diciembre 2022 (FW 22.12)

Postby Antonio Linares » Wed Jan 04, 2023 6:55 am

Diciembre 2022
==============

* Mejora: La clase TSkin ahora también soporta totalmente las ventanas MDICHILD. Por favorm revisa
el nuevo ejemplo samples\skin3.preg y el fichero de recursos skin3.rc. También se ha implementado
un nuevo tema estilo Windows 11. Gracias al maestro Lailton!

* Nuevo: El ejemplo samples\webview2.prg muestra como puedes usar scripts desde tu código html usando
un objeto TWebView.

* Corrección: Los cambios recientes en DLL.CH no incluían también cambios en DLL32 FUNCTION.
Este problema afectaba a los usuarios de xHarbour, ya que xHarbour usa su propia LoadLibrary() en lugar
de LoadLibrary() de FWH, y como xHarbour LoadLibrary() devuelve una "P" (tipo puntero) entonces falla
al llamar a Abs().
Si eres un usuario de xHarbur por favor recuerda comprobar esto si obtienes un error en Abs().

* Nueva: Clase TBtnClr, desarrollada por Silvio Falconi. Por favor, revisa el ejemplo samples\TestBtnClr.prg.
Muchas gracias Silvio !

* Mejora: Nueva DATA nQuickHigh. nQuickHigh se implementa a un valor fijo de 32.
Muchas gracias a Ubiratan!
http://fivetechsupport.com/forums/viewt ... 49#p255649

* Nueva: Función FW_ASORT( aArray, [nStart], [nCount], [aColPos/bSort] ) --> aSorted
Por defecto, funciona como la función ASort(), pero si el cuarto parámetro es una matriz con columnas
numéricas, resulta una ordenación en varias columnas. Para una ordenación descendente, se debe especificar
la columna numérica como un valor negativo.
Ejemplo: ASort( aArray,,{ 2, -4, 5 } )
Realiza una ordenación ascendente de la columna 2 y donde la columna 2 es igual, se realiza una ordenación
descendente de la columna 4 y así sucesivamente.

* TGraph:
- Corrección: Teníamos un error en tiempo de ejecución al intentar imprimir un gráfico de pie directamente
sobre la impresora usando DEFINE PRINTER ( sin haber creado el control). Solucionado.
http://forums.fivetechsupport.com/viewt ... 7f98b4af92
- Corrección: El gráfico de pie PERIOD_VALUES mostraba datos erróneos o teníamos un error en tiempo de
ejecución. Solucionado.

* Trees (Clase TLinkList)
Ahora, se puede acceder a los elementos y a los subelementos anidados utilizando una sintaxis similar a la
de los objetos.
Por ejemplo: ? oTree:Americas:USA:Washington:Value

* Nueva: Función SHFileOperation(). Por favor, revisa el ejemplo samples\dlgfile.prg.
Muchas gracias a Jimmy, por decirnos que la adaptáramos a 64 bits y la hemos hecho parte de FWH. Hemos
cambiado el ejemplo samples\dlgfile.prg.

* XBROWSE:
- Cuando se utiliza la característica filtro incremental, los totales no son recalculados. Solucionado.
- En la exploración de cuadrícula completa, si la nueva DATA lFullGridClr se establece a .T., los colores de
cada columna se extienden hasta la parte inferior, como en Excel.

* Nuevas funciones en olefuncs.prg:
- WinHttpObj( [[@]cCls] ) --> oHttp
- FileSysObj() --> oFileSystem

* FWMariaRowSet:
- Mejora en la velocidad de ordenación de los campos de tipo carácter (char).

* Nueva función FW_SaveThumbnail( cImage, cThumb, nWidth, [nHeight] ) --> lSuccess
La podemos encontrar en source\function\imgtxtio.prg
regards, saludos

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

Re: New FTDN December/Diciembre 2022 (FW 22.12)

Postby leandro » Wed Jan 04, 2023 11:19 pm

Antonio buenas tardes como vas?

Al intentar compilar el ejemplo dlgfile.prg

Nos sale el siguiente error
Code: Select all  Expand view
┌────────────────────────────────────────────────────────────────────────────┐
?FiveWin for xHarbour 22.12 - Dec. 2022          Harbour development power  │▄
?(c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘?
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀?
Compiling...
xHarbour 1.2.3 Intl. (SimpLex) (Build 20221118)
Copyright 1999-2022, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'dlgfile.prg' and generating preprocessed output to 'dlgfile.ppo'...
Generating C source output to 'dlgfile.c'...
Done.
Lines 64, Functions/Procedures 4, pCodes 199
Embarcadero C++ 7.40 for Win32 Copyright (c) 1993-2018 Embarcadero Technologies, Inc.
dlgfile.c:
Turbo Incremental Link 6.90 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_SHFILEOPERATION' referenced from C:\FWH2212\SAMPLES\DLGFILE.OBJ
Error: Unable to perform link
* Linking errors *
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
leandro
 
Posts: 1481
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia

Re: New FTDN December/Diciembre 2022 (FW 22.12)

Postby leandro » Wed Jan 04, 2023 11:20 pm

El ejemplo TestBtnClr.prg, no esta en la carpeta de los samples.

De antemano gracias
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
leandro
 
Posts: 1481
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia

Re: New FTDN December/Diciembre 2022 (FW 22.12)

Postby Antonio Linares » Thu Jan 05, 2023 5:56 am

leandro wrote:Antonio buenas tardes como vas?

Al intentar compilar el ejemplo dlgfile.prg

Nos sale el siguiente error
Code: Select all  Expand view
┌────────────────────────────────────────────────────────────────────────────┐
?FiveWin for xHarbour 22.12 - Dec. 2022          Harbour development power  │▄
?(c) FiveTech 1993-2022 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘?
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀?
Compiling...
xHarbour 1.2.3 Intl. (SimpLex) (Build 20221118)
Copyright 1999-2022, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'dlgfile.prg' and generating preprocessed output to 'dlgfile.ppo'...
Generating C source output to 'dlgfile.c'...
Done.
Lines 64, Functions/Procedures 4, pCodes 199
Embarcadero C++ 7.40 for Win32 Copyright (c) 1993-2018 Embarcadero Technologies, Inc.
dlgfile.c:
Turbo Incremental Link 6.90 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_SHFILEOPERATION' referenced from C:\FWH2212\SAMPLES\DLGFILE.OBJ
Error: Unable to perform link
* Linking errors *


Estimado Leandro,

Acabo de probarlo con buildh.bat y con buildx.bat y ambos enlazan correctamente.

Por favor asegúrate de estar usando las librerías correctas, gracias

El código fuente de SHFILEOPERATION() está en source\winapi\winexec.c por favor verifícalo
regards, saludos

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

Re: New FTDN December/Diciembre 2022 (FW 22.12)

Postby Antonio Linares » Fri Jan 06, 2023 10:01 am

leandro wrote:El ejemplo TestBtnClr.prg, no esta en la carpeta de los samples.

De antemano gracias


Estimado Leandro,

muchas gracias por indicárnoslo

Efectivamente se nos pasó añadirlo al repositorio, y además habia que añadir unos nuevos cambios hechos por Silvio

En unos dias publicaremos un build revisado que ya lo incluye :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
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 9 guests