New FTDN April/Abril 2009 (9.04)

New FTDN April/Abril 2009 (9.04)

Postby Antonio Linares » Fri Apr 10, 2009 1:20 pm

April 2009
==========

* New: function HasAlpha( hBitmap ) --> lYesNo checks if a bitmap has alpha channel (transparency).

* New: Class TBitmap Method HasAlpha() --> lYesNo. (It does NOT need FreeImage.dll)

* New: Class TImage Method HasAlpha() --> lYesNo. (Based on FreeImage.dll)

* Fix: Class TFtp Method Directory(), there was a memory bug that was showing with new Harbour build
only. Now it is ok.

* New: CodeJock's RibbonBar support! Please review samples\RibonBar.prg

* New: function RegisterServer( cServerName ) --> nResult and UnregisterServer( cServerName ) --> nResult
let you register and unregister ActiveXs and OCX servers. In example:

RegisterServer( "Codejock.CommandBars.v13.0.0.ocx" )

source code: New file FWH\source\winapi\ocx.c

* Fix: function CtrlDrawFocus() was not stopping searching for container parents if a modal dialog
was found. Now it is ok. This function is used when a control uses the DESIGN clause and is moved
with the mouse.

* New: function CoInitialize(). This function should be called before calling IsActiveX( cProgId ) if
no ACTIVEX control has been created yet.

* New: Class TActiveX Method Destroy(). This method is required to solve a detected memory leak.
Now it is ok.

* Enhancement: Class TActiveX Events parameters management now automatically manage TOleAuto objects.
Please review FWH\samples\RibonBar.prg

* Fix: Class TGet fixed bug introduced in recent changes. Now it is ok. Reported by Michel.

* Enhancement: Class TBtnBmp automatic support for Bitmaps with Alpha Channel, plus many new
enhancements as rounder corners, better display of text and image, and some fixes. Please review
FWH\samples\TestBtn3.prg. Many thanks to Daniel!

* New: CUEBANNER support for Class TGet. Sets the textual cue, or tip, that is displayed by the edit control
to prompt the user for information. When the user clicks the text, the text goes away and the user can type.
You cannot set a cue banner on a multiline edit control or on a rich edit control. Themes support must be
activated in the application. It is a Windows API requirement

* Fix: function cGetFile() was calling hb_xfree() with an invalid pointer on some circunstances.
Now it is ok.

* New: functions ResizeBmp( hBitmap, nWidth, nHeight ) --> hNewBitmap // Creates a new resized bitmap from an
existing one
CreateRoundRectRgn( hWnd, nWidth, nHeight ) --> hRegion // Windows API docs
SetWindowRgn( hWnd, hRegion ) --> nResult // Windows API docs
SetAlpha( lOnOff ) --> lPrevious // Avoid the use of the bitmaps Alpha channel

* New: Class TBitmap automatic support for bitmaps with Alpha channel. Please review FWH\samples\BmpAlpha.prg

* New: Class TButtonBmp automatic support for bitmaps with Alpha channel. Please review FWH\samples\TestButn.prg

* New: Class TImage automatic support for bitmaps with Alpha channel. Please review FWH\samples\TestImg.prg

* New: Class TXBrowse automatic support for bitmaps with Alpha channel. Please review FWH\samples\xbalpha.prg

* Enhancement: REPORT, In the same manner as in XBrowse, date format can be specified like
'dd mmm yyyy' ( in any order ) for formatting dates independant of set date format and for
xHarbour, picture "@T" can be used to print datetime values.

* Enhancement: TREES ( FWH LinkLists ):
- Command TREEITEM:
- Clause [ACTION <uAction>] was not working. Now it is fixed.
- New Clause [CARGO <uCargo>]
- Function _TreeItem(...) is changed to accept the above two parameters

- Class TLinkList ( LinkList.Prg )
- New Method Levels() --> number of levels in the Tree
- New Method SetLevel( n ) --> Change the level of the Tree and all
subtrees ( useful when attaching a whole tree as a child of a treeitem
of another tree)
- Class TTreeItem ( TreeItem.Prg )
- New Method SetTree( oChild ) --> Set child Tree of an item of a
Tree, after the tree is built.

* Enhancement: function cValtoChar() now returns "{=>}" for Hash values.

* Enhancement: XBROWSE:

- When using rdd_ads with xbrowse, it was necessary to declare
external symbols ADSKEYCOUNT, ADSGETRELKEYPOS, ADSSETRELKEYPOS in the
source code. Now xbrowse.ch automatically requests these symbols, if
xbrowse.ch is included after ads.ch.

- TXBrowse new DATA bPopUp. When bPopUp for any column is not
assigned, oBrw:bPopUp is used if assigned

- In case of Tree Browse, the report method sets groups according to
the tree levels.

- Browsing blank arrays made easier. See xbrabln.prg in samples

- Now ragged arrays and nested arrays ( different rows containing
different number of columns and different types ) possible. See
xbrarag.prg. Double click on a nested array item opens another browse
of that array.

- Setting oCol:cDataType := 'T' displays dates in datetime format
(xharbour only).

- New Index ( #define BITMAP_ALPHA 6 ) in DATA aBitmap

- New TXBrwColumn DATA(s)
nAlphaLevelHeader Set Alpha Channel Tranparence Level over Header
nAlphaLevelFooter Set Alpha Channel Tranparence Level over Footer
bAlphaLevel Code Block to Set Alpha Channel Tranparence Level over cell

- New TXBrwColumn Method
METHOD nAlphaLevel( nLevel ) SETGET Set Alpha Channel Tranparence Level

* Fix: Class TRadio removed default initialization for nHelpID to 100. It was not needed.

* New: FiveHX.lib has been rebuilt with xHarbour 1.2.1 Rev. 6406. This new xHarbour build is available
from www.fivetechsoft.com/files/xharbour.exe
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41208
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FTDN April/Abril 2009 (9.04)

Postby Antonio Linares » Fri Apr 10, 2009 6:12 pm

Abril 2009
=========

* Nuevo: Función HasAlpha( hBitmap ) --> lYesNo, comprueba si una imagen de mapa de bits tiene canal alpha (transparencia).

* Nuevo: Nuevo método HasAlpha() --> lYesNo en la clase TBitmap. Ya no necesita la librería dinámica FreeImage.dll.

* Nuevo: Nuevo método HasAlpha() --> lYesNo en la clase TImage. Basado en la librería dinámica FreeImage.dll.

* Corrección: El método Directory() en la clase TFtp, tenía un error de memoria que se mostraba sólo con las nuevas construcciones de Harbour. Ahora está correcto.

* Nuevo: Soporte para los RibbonBar de CodeJock! Por favor, revisa el ejemplo samples\RibonBar.prg.

* Nuevo: Nuevas funciones RegisterServer( cServerName ) --> nResult y UnregisterServer( cServerName ) --> nResult, estas te permiten registrar y desregistrar ActiveXs y OCX servers. Por ejemplo:

RegisterServer( "Codejock.CommandBars.v13.0.0.ocx" )

Código fuente: Nuevo fichero FWH\source\winapi\ocx.c

* Corrección: La función CtrlDrawFocus() no paraba la búsqueda para un contenedor padre si encontraba un diálogo modal. Ahora está perfecto. Esta función se usa cuando un control usa la clausula DESING y se mueve con el ratón.

* Nuevo: Nueva función CoInitialize(). Esta función se debería llamar antes de llamar a IsActiveX( cProgId ) si el control ACTIVEX no se ha creado todavía.

* Nuevo: Nuevo método Destroy() en la clase TActiveX. Este método es necesario para resolver una pérdida de memoria detectada.

* Mejora: El parámetro Events de la clase TActiveX ahora gestiona automáticamente la gestión de objetos TOleAuto.
Por favor, revisa el ejemplo FWH\samples\RibonBar.prg.

* Corrección: Se ha corregido un error introducido en la clase TGet con los cambios recientes. Ahora está correcta. El error fue notificado por Michel.

* Mejora: La clase TBtnBmp soporta automáticamente imágenes de mapa de bits con canal Alpha, con muchas nuevas mejoras como bordes redondeados, mejor visualización de texto e imagen, y algunas correcciones. Por favor, revisa el ejemplo FWH\samples\TestBtn3.prg. Muchas gracias a Daniel!

* Nuevo: Soporte de CUEBANNER en la clase TGet. Ajusta el texto, o la recomendación, que muestra el control de edición para información de los usuarios. Cuando el usuario hace clic en el texto, el texto desaparece y el usuario puede escribir.
No se puede establecer un banner en un control de edición multilínea o en un control de edición rico. El soporte de temas debe estar activado en la aplicación. Es un requisito de la API de Windows.

* Corrección: La función cGetFile() estaba llamando a la función hb_xfree() con un puntero inválido en algunas circustancias. Ahora está perfecta.

* Nuevo: Nuevas funciones:
ResizeBmp( hBitmap, nWidth, nHeight ) --> hNewBitmap // Crea una nueva imagen de mapa de bits desde una existente.
CreateRoundRectRgn( hWnd, nWidth, nHeight ) --> hRegion // Windows API docs
SetWindowRgn( hWnd, hRegion ) --> nResult // Windows API docs
SetAlpha( lOnOff ) --> lPrevious // Evita el uso de imágenes de mapas de bits de canal alfa

* Nuevo: Soporte automático para imágenes de mapa de bits con canal Alpha en la clase TBitmap. Por favor, revisa el ejemplo FWH\samples\BmpAlpha.prg.

* Nuevo: Soporte automático para imágenes de mapa de bits con canal Alpha en la clase TButtonBmp. Por favor, revisa el ejemplo FWH\samples\TestButn.prg.

* Nuevo: Soporte automático para imágenes de mapa de bits con canal Alpha en la clase TImage. Por favor, revisa el ejemplo FWH\samples\TestImg.prg.

* Nuevo: Soporte automático para imágenes de mapa de bits con canal Alpha en la clase TXBrowse. Por favor, revisa el ejemplo FWH\samples\xbalpha.prg.

* Mejora: INFORME, de la misma forma que en XBrowse, el formato de fecha se puede especificar como 'dd mmm aaaa' (en cualquier orden) para el formateo de fechas independientemente de establecer el formato de la fecha para xHarbour, se puede utilizar "@ T" para imprimir los valores datetime.

* Mejora: TREES ( FWH lista de enlaces ):
- Comando TREEITEM:
- Clausula [ACTION <uAction>] no estaba funcionando. Se ha corregido.
- Nueva clausula [CARGO <uCargo>]
- Función _TreeItem(...) se ha cambiado para aceptar los dos parámetros anteriores.

- Clase TLinkList ( LinkList.prg )
- Nuevo método Levels() --> número de niveles en el árbol.
- Nuevo método SetLevel( n ) --> Cambia el nivel del árbol y todos los subárboles ( útil cuando adjuntamos un árbol entero como hijo de un elemento de otro árbol)
- Clase TTreeItem ( TreeItem.Prg )
- Nuevo método SetTree( oChild ) --> Pone un árbol hijo de un elemento de un árbol, después de que el árbol se construye.

* Mejora: La función cValtoChar() ahora devuelve "{=>}" para valores Hash.

* Mejora: XBROWSE:

- Cuando se utiliza rdd_ads con xbrowse, es necesario declarar los símbolos externos ADSKEYCOUNT, ADSGETRELKEYPOS, ADSSETRELKEYPOS en el código fuente. Ahora xbrowse.ch automáticamente solicita estos símbolos, si xbrowse.ch se incluye después de ads.ch.

- Nuevo DATA bPopUp en TXBrowse. Cuando no se asigna bPopUp para ninguna columna, oBrw:bPopUp es utilizado si se ha asignado.

- En el caso de un Browse con árbol, método report establece los grupos de acuerdo a los niveles del árbol.

- Navegación por matrices vacías hecha más fácil. Por favor, revisa el ejemplo samples\xbrabln.prg.

- Ahora es posible el uso de matrices desordenadas y matrices anidadas (diferentes filas que contienen diferente número de columnas y diferentes tipos). Por favor, revisa el ejemplo samples\xbrarag.prg. Al hacer doble clic en un elemento de una matriz anidada abre otro browse de esa matriz.

- Poniendo oCol:cDataType := 'T' muestra las fechas en formato datetime (sólo en xHarbour).
- HasAlpha( hBitmap ) --> lYesNo
- Nuevo índice ( #define BITMAP_ALPHA 6 ) en DATA aBitmap

- Nuevos DATAs en TXBrwColumn

nAlphaLevelHeader -- Establece el nivel de transperencia de canal Alpha sobre la cabecera.
nAlphaLevelFooter -- Establece el nivel de transperencia de canal Alpha sobre el pie.

bAlphaLevel -- bloque de código para establecer el nivel de transparencia de canal Alpha sobre la celda.

-Nuevo método en TXBrwColumn

METHOD nAlphaLevel( nLevel ) SETGET -- Establece el nivel de transparencia de canal Alpha.

* Corrección: Clase TRadio se ha eliminado la inicialización por defecto de nHelpID a 100. Ya no es necesario.

* Nuevo: La librería FiveHX.lib ha sido reconstruida con la versión de xHarbour 1.2.1 Rev. 6406. Esta versión de xHarbour está disponible en http://www.fivetechsoft.com/files/xharbour.exe
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41208
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FTDN April/Abril 2009 (9.04)

Postby Antonio Linares » Fri Apr 10, 2009 6:35 pm

.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41208
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FTDN April/Abril 2009 (9.04)

Postby Ross_ValuSoft » Sat May 16, 2009 12:16 pm

Hello Antonio,

In February we spoke ...

>
A suggestion. Could you add the file size and date information next to each of the file links so that old files do not get downloaded again?
>

yes, good idea. Thanks :-) We are going to arrange it.


Any progress on this request yet? I want to download the latest but not everything else.

Regards,

Ross McKenzie
Melbourne Australia
User avatar
Ross_ValuSoft
 
Posts: 87
Joined: Thu Dec 18, 2008 11:27 am
Location: Melbourne, Australia

Re: New FTDN April/Abril 2009 (9.04)

Postby Antonio Linares » Sat May 16, 2009 6:51 pm

Ross,

We had not time yet to organize it, sorry.

We are currently in Korea on a FWPPC development, and we are quite busy working on the next FWPPC version.

We will do it asap,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41208
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New FTDN April/Abril 2009 (9.04)

Postby hag » Wed Jun 03, 2009 11:35 pm

Antonio
I want to upgrade to new fwh904 and Harbour. Can't get into the site can you send me a link..Thanks
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: New FTDN April/Abril 2009 (9.04)

Postby Antonio Linares » Thu Jun 04, 2009 4:30 am

Harvey,

Please send me an email to alinares@fivetechsoft.com so we check if your FTDN subscription is still available, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41208
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 5 guests