New FTDN June/Junio 2018 (FWH 18.06)

New FTDN June/Junio 2018 (FWH 18.06)

Postby Antonio Linares » Sat Sep 01, 2018 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FTDN June/Junio 2018 (FWH 18.06)

Postby Antonio Linares » 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
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 15 guests