New FTDN October/Octure (FWH 22.10)

New FTDN October/Octure (FWH 22.10)

Postby Antonio Linares » Wed Nov 02, 2022 11:55 am

July 2022 to October 2022
=========================

* New: function Now() is a new function in FWH. It returns the day, date and time from internet. Please
review samples/horizon.prg for a working example. This function is nor available for xhb commercial
neither for bcc64.

* Enhancement: esreport.prg(3426) Warning W0030 STATIC Function 'FWER_GETREGISTRY'
defined but never used fwpdf.prg(1957) Warning W0030 STATIC Function 'RGB2PDF' defined but
never used both fixed. thanks to Enrico!

* printer.prg

- For printing images saved in memo fields, till
now, it was required to assign the value of the
field to a character variable and then use it
to print the image.
eg.,
cImage := FIELD->IMAGE
@ r,c PRINT TO oPrn IMAGE cImage SIZE w,h INCHES

now we can directly use the field variable.
eg.,
@ r,c PRINT TO oPrn IMAGE FIELD->IMAGE SIZE w,h INCHES

* XBROWSER oAdoRecordset was giving runtime error due to
a bug in the previous version. Fixed now.

* New: Class TNeuralNetwork implements neural networks on FWH. Please review
samples\neural.prg for a working example traininig Xor operations using AI.

* New: New functions dbRollBack() and dbRollBackAll() in
source\function\dbffunc1.prg to help implementation of
transacion tracking with DBF

-See samples\dbf_tts.prg

* Enhancement: samples\buildh32.bat, samples\buildh64.bat and samples\buildx32.bat
have been fixed to properly reset the environment after the call to vcvarsall.bat
We have been looking for this solution for a long time :-)

* Enhancement: samples\fivedit0.prg has been updated to use bcc7 and added a missing library.
You can easily build a project using it. We have not extensitevely tested it so feedback
is welcome.

* xbrowse.prg:
- Since FWH2008, bClrStd, bClrSel, bClrSelFocus are evaluated with two
parameters, viz., browse and column objects. column object is nil
when browse evaluates the blocks.However, if a column using a block using the parameters inline edit raises runtime
error. Fixed.
For previous versions from FWH2008, please assign a value to bClrEdit to avoid this
runtime error.
- While browsing ordered datasources, incremental seek feature is
on by default. At times this creates unexpected and undesired
movement of records.
Eg:
USE CUSTOMER VIA "DBFCDX"
SET ORDER TO TAG LAST
XBROWSER ALIAS() COLUMNS "FIRST","CITY"
Now, if the user presses any alphanumeric key the records keep
changing irrationally.
--
Now, this behaviour can be toggled with the new data
oBrw:lIncrSearch .t./.f. ( default .t. )
- Method ToExcel() Fix:
When browsing an array containing utf8 values in any cell was
resulting in runtime error. Fixed.

* DATA bBmpData is now evaluated with params, CellValue, lSelected,
ColumnObject)

* FW_ReadImage( <wmf_file> ) was giving runtime error, Fixed.

* function ICON_READ( cFileName ) in icons.c requires an existing
file as the first parameter. Now the parameter can be only name
of extension prefixed with "."
Eg: ICON_READ( ".docx" ) --> hIcon.

* BtnBmp.prg: Runtime error when 5th element of :aBmpRect is "circle"
or "ellipse" (introduced in 2004) is now fixed.

* New function fw_memowrit( cFile, cText ). Saves cText without suffixing
eof (chr(26)). Same as HB_MEMOWRIT( cFile, cText ) of Harbour and
MEMOWRIT( cFile, cText, .F. ) of xHarbour.

* New wrapper functions to windows api
GetTopWindow( [hWnd] ) --> hWnd
GetForegroundWindow() --> hWnd
in wndis.c

* Enhancement: Method SaveAsImage() of TWindow.
Inherited by dialogs and all controls.
SaveAsImage( [[@]cImageFile], [aCrop], [nRectType],
[lShow] ) --> lSuccess
Parameters:
[[@]cImageFile] : If empty, user is prompted tp select a file to save.
Can be saved as bmp, jpg/jpeg, png, tif.
[aCrop] : If specified, a crop of the windows rect is saved.
[nRectType]
0. WindowRect including frame. (only for a window/dialog)
1. Default. Client Rect of window
2. Client Area rect (excludes oTop, oLeft, oBottom, oRight
This also means that buttonbar and msgbar are excluded)
[lShow]: If true, the saved file is displayed

* ximage: file save quality improment.
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 October/Octure (FWH 22.10)

Postby Antonio Linares » Mon Nov 07, 2022 9:38 pm

Julio 2022 a Octubre 2022
=========================

* Nueva: La función Now() es una nueva función en FWH. Devuelve el día. fecha y hora de internet.
Por favor, revise el ejemplo samples/horizon.prg para un ejemplo funcional.
Esta función no está disponible en la versión de xHarbour comercial ni para bcc64.

* Mejora: esreport.prg(3426) Warning W0030 STATIC Funcion 'FWER_GETREGISTRY' definida pero nunca
usada. fwpdf.prg(1957) Warning W0030 STATIC Funcion 'RGB2PDF' definida pero nunca usada.
Ambas advertencias corregidas. Gracias a Enrico !!!

* printer.prg

- Para imprimir las imágenes guardadas en los campos memo, hasta hasta ahora, era necesario asignar
el valor del campo a una variable de carácter y luego utilizarla para imprimir la imagen.
Ejemplo:

cImage := FIELD->IMAGE
@ r,c PRINT TO oPrn IMAGE cImage SIZE w,h INCHES

ahora podemos utilizar directamente la variable de campo.
Ejemplo:

@ r,c PRINT TO oPrn IMAGE FIELD->IMAGE SIZE w,h INCHES

* oAdoRecordset en XBROWSER estaba dando un error en tiempo de ejecución debido a un error en una
versión previa. Corregido el error.

* Nueva: Clase TNeuralNetwork. Implementa redes neuronales en FWH. Por favor, revise el ejemplo
samples\neural.prg para un ejemplo funcional entrenando operaciones XOR usando Inteligencia
Artificial.

* Nueva: Nuevas funciones dbRollBack() y dbRollBackAll() en source\function\dbffunc1.prg para ayudar
a la implementación del seguimiento de transaciones con DBF.

- Mire el ejemplo samples\dbf_tts.prg

* Mejora: samples\buildh32.bat, samples\buildh64.bat y samples\buildx32.bat se han corregido para
restablecer correctamente el entorno después de la llamada a vcvarsall.bat Llevamos mucho tiempo
buscando esta solución :-)

* Mejora: samples\fivedit0.prg ha sido actualizado para utilizar bcc7 y se ha añadido una librería
que faltaba.
Puedes construir fácilmente un proyecto con ella. No lo hemos probado extensamente así que los
comentarios son bienvenidos.

* xbrowse.prg:
- Desde FWH2008, bClrStd, bClrSel, bClrSelFocus se evalúan con dos parámetros, a saber, los objetos
browse y column. El objeto column es nulo cuando browse evalúa los bloques.
Sin embargo, si una columna utiliza un bloque con los parámetros de edición en línea, se produce un
error en tiempo de ejecución. Corregido.
Para las versiones anteriores de FWH2008, por favor, asigne un valor a bClrEdit para evitar este error
de ejecución.
- Al navegar por fuentes de datos ordenadas, la función de búsqueda incremental está está activada
por defecto. A veces esto crea un movimiento inesperado e indeseado de los registros.
Ejemplo:

USE CUSTOMER VIA "DBFCDX"
SET ORDER TO TAG LAST
XBROWSER ALIAS() COLUMNS "FIRST","CITY"

Ahora, si el usuario pulsa cualquier tecla alfanumérica los registros siguen cambiando irracionalmente.
--
Ahora, este comportamiento se puede alternar con la nueva data oBrw:lIncrSearch .T./.F. ( Por defecto .T. )

- Método ToExcel(). Corregido:
Al navegar por una matriz que contiene valores utf8 en cualquier celda se generaba un error en tiempo de
ejecución. Corregido.

* La DATA bBmpData ahora es evaluada con los parámetros, CellValue, lSelected y ColumnObject.

* La función FW_ReadImage( <wmf_file> ) estaba dando errores en tiempo de ejecución. Corregida.

* Función ICON_READ( cFileName ) en icons.c requiere un archivo como primer parámetro.
Ahora el parámetro puede ser sólo el nombre de la extensión con el prefijo "."
Ejemplo:

ICON_READ( ".docx" ) --> hIcon

* BtnBmp.prg: Error de ejecución cuando el 5º elemento de :aBmpRect es "círculo" o "elipse" (introducido en 2004).
Se ha corregido.

* Nueva función fw_memowrit( cFile, cText ). Guarda cText sin sufijo eof (chr(26)).
Igual que HB_MEMOWRIT( cFile, cText ) de Harbour y MEMOWRIT( cFile, cText, .F. ) de xHarbour.

* Nuevas funciones wrapper para la api de windows en wndis.c
GetTopWindow( [hWnd] ) --> hWnd
GetForegroundWindow() --> hWnd

* Mejora: Método SaveAsImage() de TWindow.
Heredado por los diálogos y todos los controles.
SaveAsImage( [[@]cImageFile], [aCrop], [nRectType], [lShow] ) --> lSuccess

Parámetros:
[[@]cImageFile] : Si está vacío, el usuario debe seleccionar un archivo para guardar.
Se puede guardar como BMP, JPG/JPEG, PNG, TIF.
[aCrop] : Si se especifica, se guarda un recorte de la ventana.
[nRectType]
0. WindowRect incluido el marco. (Sólo para una ventana/diálogo)
1. Predeterminado. Recto del cliente de la ventana.
2. Área de cliente rect (excluye oTop, oLeft, oBottom, oRight)
Esto también significa que la barra de botones y la barra de mensajes están excluidas.
[lShow]: Si es verdadero, se muestra el archivo guardado.

* ximage: mejora de la calidad de guardado del archivo.
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 October/Octure (FWH 22.10)

Postby Antonio Linares » Tue Nov 08, 2022 6:50 pm

We have detected a FWH 22.10 bug when using xHarbour. Please download FWH.exe again, many thanks

Hemos detectado un bug en FWH 22.10 cuando se usa xHarbour. Por favor, volved a descargar FWH.exe nuevamente, muchas gracias
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 11 guests

cron