FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index WhatsNew / Novedades New FTDN March/Marzo 2022 (FWH 22.03)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FTDN March/Marzo 2022 (FWH 22.03)
Posted: Sun Apr 10, 2022 07:02 AM

December 2021 to March 2022

  • FWMariaConnection:
  • METHOD ValToSQL( tDateTime ) now considers fraction of seconds
    also.
    Methods Update/Insert can now store datetime values with
    fraction of seconds, if the field definition allows
    fraction of seconds.

  • Improved handling of OUT/INOUT parameters in Stored
    Procedures:
    oCn:ProcedureName( a, @b ) --> oRs
    Now out param returns value in b.
    oRs:Requery( a, @b ) // Out param is returned in b

  • FWMariaRowSet:

  • FieldGet( nFldNo ): Runtime error when nFldNo is out or range
    is fixed.

  • Filter expression :"<fld> like <exp>" works but not
    "<fld> not like <exp>". fixed.

  • Filter expression :"<fld> between <a> and <b>" works but not
    "<fld> not between <a> and <b>". fixed.

  • Fix: FW_SaveImage(): Trace messages removed.

  • Enhanced: FW_DBINSERT( [<aValues>] )

Provides same functionality as INSERT command of DBase, which is not
supported by Clipper/Harbour.
Suitable for small dbfs.
Inserts a blank record at current position and pushes all records
down by one record. Optionally writes non empty values of aValues
to the inserted record. When the function returns all locks are
removed.

  • Cursors:
    Cursor can be defined from a file (cur/ico) also.
    eg DEFINE CURSOR oCur FILE "mycur.cur"
    During runtime, cursor image can be changed by
    oCursor:SetSource( [cResource/cFile], [cPreDef] )
    DATA Source --> name of source( resource/file/predef )
    DATA Source := cFile/cResource changes the cursor image at
    runtime.

  • Enhancement to function MemoryBufferType( cText )
    Can now detect if cText is DOC/DOCX also

  • XBrowse:

  • method SetRDD() may at times raise runtime errors when used
    with 3rd party RDDs like ADORDD.

http://forums.fivetechsupport.com/viewt ... 0f#p249187
Now fixed.

  • Fixed runtime error when trying to zoom/unzoom (with Ctrl-Mouse
    scroll or Ctrl+/- or pinch/zoom) when oBrw:lFitGridHeight := .t.

http://forums.fivetechsupport.com/viewt ... bb2ec47b79

  • profile.c 4096 value upgraded to 16384 as per Enrico suggestion:

viewtopic.php?p=249362

  • SET MULTIPLE ON/OFF:

Now, SET MULTIPLE OFF command works.

New sample: \samples\testmult.prg

  • Print/Display Rich Text

  • From this version, the existing methods/commands

oWnd:SayText( cText, aRect, ... )

oPrn:SayText( cText, aRect, ... )

@ r,c PRINT TO oPrn TEXT cText SIZE w,h INCHES/CM/MM

will automatically display RichText in case the cText is RTF,
without any special code by the programmer.

For more details, see:

http://forums.fivetechsupport.com/viewt ... c5#p249112

  • New function

FW_RichtextBmp( cRTF, nWidth, nHeight ) --> hBitmap
Samples: rtfsay.prg, rtfprn.prg

  • samples:
  • testprn5.prg, testprn6.prg enhanced.

  • msink.prg :New sample

http://forums.fivetechsupport.com/viewt ... 4b94841dde

  • testmult.prg: New sample
    Testing SET MULTIPLE ON/OFF

  • rtfsay.prg and rtfprn.prg
    testing display/print richtex

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FTDN March/Marzo 2022 (FWH 22.03)
Posted: Mon Apr 11, 2022 04:11 AM

Diciembre 2021 a Marzo 2022

  • FWMariaConnection:

  • M茅todo ValToSQL( tDateTime ) ahora se considera tambi茅n la fracci贸n de segundos.

  • M茅todos Update/Insert ahora puede almacenar valores de fecha con fracci贸n de
    segundos, si la definici贸n del campo permite la fracci贸n de segundos.
  • Mejora de la gesti贸n de los par谩metros OUT/INOUT en los procedimientos almacenados:
    oCn:ProcedureName( a, @b ) --> oRs
    Ahora el par谩metro out devuelve el valor en b.
    oRs:Requery( a, @b ) // El par谩metro Out se devuelve en b

  • FWMariaRowSet:

  • FieldGet( nFldNo ): Se ha solucionado el error en tiempo de ejecuci贸n cuando nFldNo
    est谩 fuera de rango.

  • Expresi贸n del filtro:"<fld> like <exp>" funciona pero no la siguiente "<fld> not like <exp>".
    Solucionado.
  • Expresi贸n del filtro:"<fld> between <a> and <b>" funciona pero no la siguiente "<fld> not between <a> and <b>".
    Solucionado.

  • Solucionado: FW_SaveImage(): Se han eliminado los mensajes de rastreo.

  • Mejora: FW_DBINSERT( [<aValues>] )
    Proporciona la misma funcionalidad que el comando INSERT de DBase, que no es soportado por Clipper/Harbour.
    Adecuado para ficheros dbfs peque帽os.
    Inserta un registro en blanco en la posici贸n actual y empuja todos los registros un registro hacia abajo.
    Opcionalmente escribe los valores no vac铆os de aValores en el registro insertado.
    Cuando la funci贸n retorna, todos los bloqueos son eliminados.

  • Cursores:
    El cursor tambi茅n puede ser definido desde un archivo (cur/ico).
    Por ejemplo, DEFINE CURSOR oCur FILE "mycur.cur"
    Durante el tiempo de ejecuci贸n, la imagen del cursor puede ser cambiada por oCursor:SetSource( [cResource/cFile], [cPreDef] ).
    DATA Source --> nombre de la fuente( recurso/archivo/predef )
    DATA Source := cFile/cResource cambia la imagen del cursor en tiempo de ejecuci贸n.

  • Mejora a la funci贸n MemoryBufferType( cText )
    Ahora tambi茅n puede detectar si cText es DOC/DOCX.

  • XBrowse:

  • M茅todo SetRDD() a veces puede dar lugar a errores en tiempo de ejecuci贸n cuando se utiliza con RDDs de terceros como ADORDD.

viewtopic.php?f=6t=41589p=249187sid=566422f5763d74b9aed80dc7858b920f#p249187
Ahora, solucionado.

  • Se ha solucionado el error de tiempo de ejecuci贸n al intentar acercar/alejar el zoom (con desplazamiento de Ctrl-Mouse o
    Ctrl+/- o pellizcar/zoom) cuando oBrw:lFitGridHeight := .T.

viewtopic.php?f=3t=41583

  • profile.c 4096 valor actualizado a 16384 seg煤n la sugerencia de Enrico:

http://fivetechsupport.com/forums/viewt ... p?p=249362

  • SET MULTIPLE ON/OFF:
    Ahora, el comando SET MULTIPLE OFF funciona.
    Nuevo ejemplo: \samples\testmult.prg

  • Print/Display Rich Text

  • Desde esta versi贸n, los m茅todos/comandos existentes
    oWnd:SayText( cText, aRect, ... )
    oPrn:SayText( cText, aRect, ... )
    @ r,c PRINT TO oPrn TEXT cText SIZE w,h INCHES/CM/MM
    mostrar谩 autom谩ticamente RichText en caso de que cText sea RTF sin ning煤n c贸digo especial por parte del programador.
    Para m谩s detalle, mirad:

viewtopic.php?f=3t=41558p=249112hilit=RICHTEXTsid=1e417353d5cb282450c8df2f548e02c5#p249112

  • Nueva funci贸n FW_RichtextBmp( cRTF, nWidth, nHeight ) --> hBitmap
    Ejemplos: rtfsay.prg, rtfprn.prg

  • Ejemplos:

  • testprn5.prg, testprn6.prg mejorados.

  • Nuevo ejemplo: msink.prg

viewtopic.php?f=3t=41605

  • Nuevo ejemplo: testmult.prg
    Probando SET MULTIPLE ON/OFF.

  • rtfsay.prg and rtfprn.prg
    Probando mostrar/imprimir RichText.

&&&&&&&&&

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion