FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index WhatsNew / Novedades New FTDN July 2018 (FWH 18.07)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FTDN July 2018 (FWH 18.07)
Posted: Fri Sep 21, 2018 08:42 AM

July 2018

  • Function FWBitmap( <cName> ): Application crashes when the function
    is called with no parameters or non-character parameter. Fixed.

  • XBROWSE:

  • Method PaintData(...) of TXBrwColumn:
    When the data of a cell is changed, it is possible now to call
    oCol:PaintData() to paint the current cell value, without having
    to call oBrw:RefreshCurrent() which involves painting the entire
    row again.

  • Inline editing enhancement: When a character value is being edited,
    if oCol:nDataLen is greater than the length of the value, then
    Get allows entry of data upto oCol:nDataLen.

  • new samples\xbruser.prg: Demonstrates painting of xbrowse using
    bPaintHeader, bPaintRow, bPaintFooter

  • adofuncs.prg

  • Improved compatibility of pivot functions with MSSQL.

  • function FW_ValToSQL( cVar ): Fixed compatibility issue with MSSQL
    where cVal includes double quotes.

  • function oWndFromhWnd( hWnd ) was not working when hWnd belongs to
    a modal dialog. Now it works for modal dialogs also.

  • FWMARIADB:

  • Enhancement: method FieldGet( aFields ) --> Array of Field/Expr values.
    aFields can be an array of fiend numbers/ field names/ expressions
    using field names.

Eg: oRs:FieldGet( { "NAME+','+CODE","ID",":RecNo" } ) --> aValues

  • Enhanced
    method GetRows( [anRecs], [nStartPos], [aFields], [lWithRecNum] )
    --> Returns array containing values of the records (default all
    records) meeting the filter condition, if any, in the sorted order.
    Parameter: lWithRecNum (last parameter) If .t., RecNo() is added to
    each row as the column.
    Call to this method does not change the record position.

oRs:GetRows( [lWithRecNum] ) --> All filtered records in sorted order.
oRs:GetRows( nRecs, [lWithRecNum] ) --> First nRecs (filtered in sorted
order)
oRs:GetRows( nRecs, nStartPos, [lWithRecNum] ) -->
nRecs starting from nStartPos
oRs:GetRows( aRecs, [lWithRecNum] ), where aRecs is an array of record
numbers. Records with the recnos contained in aRecs, whether or not
meeting filter condition in the same order of the array aRecs.
If a recno does not exist, blank record is included.
3rd Parameter: aFields ( array of field numbers / field names / expressions
containing field names ). If specified, returned array contains the
values of the fields specified

  • Added samples\maria16.prg to demonstrate one parent with two child tables.

  • control.prg, window.prg, scrlpanl.prg: Change of any control in the main
    or child dialogs (folders, panels, etc) result in evaluation of bWhen of
    all controls in the main and all visible child windows.

viewtopic.php?f=3t=36094

  • fivewin.ch: Fix to avoid warning when compiled with warning level 2.

  • New function FW_MSSQLDB() --> Ado Connection Object
    FWH is providing MSSQL server in the cloud on a temporary basis for 2 months
    for purposes of tesing ADO functionaluty with MSSQL

&

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN July 2018 (FWH 18.07)
Posted: Fri Sep 21, 2018 08:58 PM

Julio 2018

  • Función FWBitmap( <cName> ): La aplicación se rompe cuando la función
    es llamada sin parámetros o con un párametro no carácter. Corregido.

  • XBROWSE:

  • Méthod PaintData(...) de TXBrwColumn:
    Cuando se cambian los datos de una celda, es posible llamar a oCol:PaintData()
    para pintar el valor actual de la celda, sin tener que llamar a oBrw:RefreshCurrent()
    que implica pintar toda la fila nuevamente.

  • Mejora de edición en línea: cuando se edita un valor de carácter, si oCol:nDataLen
    es mayor que la longitud del valor, entonces el Get permite la entrada de datos hasta
    oCol:nDataLen.

  • Nuevo ejemplo samples\xbruser.prg: Demuestra el pintado de xbrowse usando bPaintHeader,
    bPaintRow, bPaintFooter

  • adofuncs.prg

  • Mejora de la compatibilidad de las funciones "PIVOT" con MSSQL.

  • Funciónn FW_ValToSQL( cVar ): Solucionado el problema de compatibilidad con MSSQL
    donde cVal incluye doble comillas.

  • Función oWndFromhWnd( hWnd ) no funcionaba cuando hWnd pertenece a un cuadro de diálogo modal.
    Ahora funciona con diálogos modales también.

  • FWMARIADB:

  • Mejora: Método FieldGet( aFields ) --> Array of fields/Expr values.
    aFields puede ser una matriz de campos numéricos/ nombres de campos/ expresiones usando nombres de campos.

Por ejemplo: oRs:FieldGet( { "NAME+','+CODE","ID",":RecNo" } ) --> aValues

  • Método mejorado GetRows ( [anRecs], [nStartPos], [aFields], [lWithRecNum] )
    -> Devuelve una matriz que contiene los valores de los registros (por defecto todos los
    registros) que cumplen con la condición del filtro, si existe, en el orden ordenado.
    Parámetro: lWithRecNum (último parámetro) Si .t., RecNo () es añadido a
    cada fila como la columna.
    Llamar a este método no cambia la posición del registro.
    oRs: GetRows( [lWithRecNum] ) -> Todos los registros filtrados ordenados.
    oRs: GetRows( nRecs, [lWithRecNum] ) -> Primeros nRecs (filtrados ordenados)
    oRs: GetRows( nRec, nStartPos, [lWithRecNum] ) -> nRec empezando desde nStartPos
    oRs: GetRows( aRecs, [lWithRecNum] ), donde aRecs es una matriz de registros
    numéricos. Registros con los recnos contenidos en aRecs, cumplan ó no la condicion
    del filtro en el mismo orden que el array aRecs.
    Si un recno no existe, un registro en blanco es incluido.
    3er parámetro: aFields ( matriz de campos numérico / nombres de campo / expresiones
    que contiene nombres de campo ). Si se especifica, la matriz devuelta contiene el
    valor de los campos especificados.

  • Se ha agregado el ejemplo samples \ maria16.prg para demostrar un padre con dos tablas secundarias.

  • control.prg, window.prg, scrlpanl.prg: Cambio de cualquier control en el diálogo principal
    o diálogos secundarios (carpetas, paneles, etc.) dan como resultado la evaluación de bWhen en
    todos los controles en la ventana principal y en todas las ventanas secundarias visibles.
    viewtopic.php?f=3&t=36094

  • fivewin.ch: Corrección para evitar advertencias cuando se compila con el nivel de advertencia 2.

  • Nueva función FW_MSSQLDB () -> Ado Connection Object
    FWH proporciona servidor MSSQL en la nube de forma temporal durante 2 meses
    con fin de poder probar la funcionalidad de ADO con MSSQL

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN July 2018 (FWH 18.07)
Posted: Fri Oct 05, 2018 09:12 AM

July 2018 Revised Build

  • Fix: method oContainerWnd()

viewtopic.php?f=3t=36116p=215253#p215253

&&

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 40
Joined: Fri Jan 10, 2014 10:38 AM
Re: New FTDN July 2018 (FWH 18.07)
Posted: Tue May 26, 2020 12:00 PM

Hola:
Como puedo ver los bitmaps disponibles con la funcion FWBitmap() ?

Gracias

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN July 2018 (FWH 18.07)
Posted: Tue May 26, 2020 02:03 PM

Estan todos definidos en source/function/bitmaps.c

Al final del fichero ves todos los nombres

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 40
Joined: Fri Jan 10, 2014 10:38 AM
Re: New FTDN July 2018 (FWH 18.07)
Posted: Tue May 26, 2020 03:08 PM

Gracias

Continue the discussion