FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index WhatsNew / Novedades New FTDN June/Junio 2018 (FWH 18.06)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FTDN June/Junio 2018 (FWH 18.06)
Posted: Sat Sep 01, 2018 08:33 AM
June 2018
=========

* XBROWSE

- Now it is possible to toggle between lSeekBar and lGetBar
at runtime.

- Popup position now takes in consideration columns indent value.

- New Data lRowBox init .f.: If set to .t., box is drawn around the
selected row with :nColorBox or black color.

- Fix: When an image is pasted into xbrowse, the bitmap handle
is not released. Fixed.

- Fix: When :lColChangeNotify is set to .t. in fastedit mode, when the
focus moves right to next visible cell, :bChange is not triggered. Fixed.
viewtopic.php?f=3&t=36021

* FWMARIALIB:

- AutoReconnect: Important improvement: After losing connection due
to time-out or loss of physical connection with the server, use of
connection object automatically reconnects with the server, if the
physical connection is restored by that time. After such an auto-
reconnection, some settings like multi-statement, message languge,
time language, etc were being reset resulting in unexpected behavior.
Now all such settings are properly restored.

- It is now possible to create FWMaria connection from dolphin connection
object, without providing server information again
Eg: oCn := maria_Connect( oServer )

- XBrowse method SetTree( nCols, [aBmps] ) now works with RowSets also.

- Fix: Rare bug in method CreateTable() when some collations are used for
individual columns.

- method CopyTable() updates the destination table if exists and creates
new table otherwise. Some minor fixes.

- New method in FWMariaRowSet:
NetChanged( [nRec], [@lDeleted] ) --> lChanged
Checks if the record nRec (default current record) is changed by
another user on the network after read and also refreshes the record
with current changes. If the record was deleted by other user,
lDeleted also set to .t. and the record pointer moves to next record.
Note: This method works only if the rowset contains a primary key and
if not does nothing.

- Enhancement to method EditBaseRecord(...)
Added optional new 5th param, lLock (default .f.)
Revised syntax:
EditBaseRecord( [cFieldList], [lNew], [bEdit], [oBrw], [lLock] )
If lLock is set to true, the row is locked for edit and lock is released
after edit.

- The issue raised in the forum
viewtopic.php?f=3&t=35999
fixed.

- oRs:SetFilter(): When the expression uses like 'abc def%' containing a
space, it is not working. Now it works.
viewtopic.php?f=3&t=36014

* EDITVARS translate was showing error when used with non-English
languages. Fixed.

* Enhancement: function Execute() no longer generates a comp.log file and it
generates runtime errors now that thw FWH error system catch.

* MULTIGET: It was not possible to directly use a variable with length
exceeding 32K while creating the Get on a Window. It was necessary to
use a variable with shorter length and later set the variable with full
length in the ON INIT clause of the window. Now this workaround is not
necessary. Variable with any length can be directly used while creating
the Get.

* BTNBMP:
- Fix: Symbol images are not painted in gray when disabled. Fixed.

* TDataRow: When used with Hash, changes made are not saved to hash.
Fixed.

* New readonly data lChanged in all controls:
Get, MultiGet, Edit, combobox, combometro, listbox, radmenu, dtpicker,
tmpicker, dbcombo, richedit, richedit5, tswitch
The data indicates if the user modified the original data.

* TDatabase: When the database object variable is set to nil or loses
focus, the alias is closed. Now this behaviour is restricted to cases
where the alias is opened while creating the object and does not apply
to alias opened before creating the object. eg:
USE SALES
DATABASE oSales
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN June/Junio 2018 (FWH 18.06)
Posted: Mon Sep 03, 2018 11:04 AM
Junio 2018
==========
* XBROWSE
- Ahora es posible alternar entre lSeekBar y lGetBar en tiempo de ejecuci贸n
- La posici贸n del "Popup" ahora tiene en consideraci贸n el valor del sangrado de las columnas.
- Nueva Data lRowBox, por defecto .F.; si es puesta a .T., la caja se dibuja alrededor
de la fila seleccionada con :nColorBox o color negro.
- Correcci贸n: Cuando una imagen era pegada en un xBrowse, el manejador del "bitmap - mapa de bits"
no era eliminado. Corregido.
- Correcci贸n: Cuando :lColChangeNotify es puesta a .T. en modo de edici贸n r谩pida, cuando el foco se
se mueve a la siguiente celda visible, :bChange no es lanzada. Corregido.
viewtopic.php?f=3&t=36021
* FWMARIALIB:
- AutoReconnect: Importante mejora: Despu茅s de perder la conexi贸n debido al tiempo de espera o p茅rdida
de conexi贸n f铆sica con el servidor, el objeto usado para la conexi贸n, autom谩ticamente reconecta con
el servidor, si la conexi贸n f铆sica se restablece en ese momento. Despu茅s de la reconexi贸n, algunos
ajustes como multi-declaraci贸n, idioma del mensaje, etc. se restablec铆an con un comportamiento inesperado.
Ahora todos esos ajustes se restauran correctamente.

- Ahora es posible crear conexiones FWMaria desde un objeto de conexi贸n Dolphin, sin proporcionar informaci贸n
al servidor de nuevo.
Por ejemplo: oCn := maria_Connect( oServer )
- El m茅todo SetTree( nCols, [aBmps] ) de XBrowse, ahora funciona con "RowSets - Conjunto de filas" tambi茅n.
- Correcci贸n: Error raro en el m茅todo CreateTable() cuando se usan algunas intercalaciones para
columnas individuales.
- M茅todo CopyTable() actualiza la tabla de destino si existe y crea una nueva tabla en caso contrario.
Algunas correcciones menores.
- Nuevo m茅todo en FWMariaRowSet:
NetChanged([nRec], [@lDeleted]) -> lChanged
Comprueba si el registro nRec (registro actual predeterminado) es cambiado por otro usuario de la red
despu茅s de leer y tambi茅n actualiza el registro con los cambios actuales. Si el registro fue eliminado
por otro usuario, lDeleted tambi茅n se establece a .T. y el puntero de registro se mueve al siguiente registro.
Nota: Este m茅todo funciona s贸lo si el conjunto de filas contiene una clave principal y si no, no hace nada
- Mejora del m茅todo EditBaseRecord(...)
A帽adido un nuevo quinto par谩metro opcional, lLock (por defecto .F.)
Sint谩xis revisada:
EditBaseRecord( [cFieldList], [lNew], [bEdit], [oBrw], [lLock] )
Si lLock es puesta a .T., la fila se bloquea para edici贸n, el bloqueo es eliminado despu茅s de la edici贸n.
- El problema planteado en el foro se ha corregido.
viewtopic.php?f=3&t=35999
- oRs:SetFilter(): cuando se utiliza la expresi贸n LIKE 'abc def%' y esta contiene un espacio en blanco, no funciona.
Corregido. viewtopic.php?f=3&t=36014
- La traducci贸n de EDITVARS estaba mostrando un error cuando se usaba con idiomas que no son ingl茅s. Corregido.
* Mejora: La funci贸n Execute() ya no genera un fichero comp.log y genera errores de tiempo de ejecuci贸n ahora que
detecta el sistema de errores de FWH.
* MULTIGET: No era posible usar directamente una variable con longitud superior a 32 K al crear un "GET" en una Ventana.
Era necesario usar una variable con una longitud m谩s corta y luego configurar la variable con la longitud deseada en la
cl谩usula "ON INIT" de la ventana. Ahora esta soluci贸n ya no es necesaria. Se pueden utilizar variables con cualquier longitud
directamente al crear el "GET".
* BTNBMP:
- Correcci贸n: Las im谩genes de s铆mbolos no son pintadas en gris cuando est谩n desactivadas. Corregido.
* TDataRow: Cuando se usa con Hash, los cambios realizados no se guardan en el hash. Corregido.
* Nueva "data" lChanged de s贸lo lectura en todos los controles:
Get, MultiGet, Edit, combobox, combometro, listbox, radmenu, dtpicker,
tmpicker, dbcombo, richedit, richedit5, tswitch.
La "data" indica si el usuario modific贸 la "data" original.
* TDatabase: Cuando la variable del objeto "TDatabase" es puesto a "NIL" o pierde el foco, el alias se cierra. Ahora este
comportamiento se restringe a casos d贸nde el alias se abre al crear el objeto y no se aplica a los alias abiertos antes
de crear el objeto.
Por ejemplo:
USE SALES
DATABASE oSales
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion