New FTDN August/Agosto 2010 (FWH 10.8)

New FTDN August/Agosto 2010 (FWH 10.8)

Postby Antonio Linares » Tue Aug 31, 2010 9:27 am

August 2010
===========

* Enhancement: Improved samples\GetApps.prg. Interesting example to review Windows runnings
apps.

* Fix: Minor fix in samples\GetApps.prg to avoid compile warning. Added psapi.lib to
samples\buildx.bat

* xbrowse: Improvement: It is now possible to assign data of all columns in one single statement.
Example: oBrw:nHeadStrAligns := AL_CENTER is equivalent to AEval( oBrw:aCols, { |oCol| oCol:nHeadStrAlign := AL_CENTER } ).

If an array of values is assigned, the elements are successively assigned to the column objects.

Example: oBrw:cHeaders := { 'ONE', 'TWO', 'THREE' }, assigns the headers to three columns. The assignment is made
in the order of original creation of the columns, even if the columns are rearranged by the user.
Accessing column data returns an array of values.

Example: aHeaders := oBrw:cHeaders

* xbrowse: New DATA lOemAnsi ( default .f. ): When set to .t., SetRDD method builds bEditValue codeblock for the
fields converting from OemToAnsi() and AnsiToOem().

If programmer defines bStrData or bEditValue directly, the programmer has to implement the functionality on his own.

* Fix: Class TXBrowse, Bug in method SeekOnArray() corrected when the array columns in the browse are not sequential

* Fix: Class TXBrowse, Method RestoreState( cState ) was nor working correctly. Now fixed. Also group header status
is now saved and restored.
Methods SaveState() and RestoreState() are revised and the saved format is not compatible with previous versuons. However, cState saved in the old format is restored correctly by the revised RestoreState()

* Fix: Class TXBrowse, AUTOSORT on Empty Arrays was raising runtime error. Now it is ok.

* Enhancement: Class TXBrowse, when an array element in the sorted column is edited and modifed inline, the array is
resorted automatically.

* Enhancement: Class TMsgBar shows the bottom-right "gripper" even if the 2007 style is used.

* Fix: function cValToChar() proper management for "pointer" types. Thanks to Juan Galvez!

* Improvement: Both tdatabase and txbrowse now use improved logic to identify tag order for each field.

* Improvement: MsgSplash( cImage, nSeconds, bAction ). cImage can be file or resource. If bAction is specified, the codeblock is evaluated with oImage as parameter and Splash continues till the bAction is executed or expiry of nSeconds whicheve is later.

* xbrowse.prg: Improvement. Right click on one of the selected rows in multi-selection mode does not clear the selection.

* xbrowse.prg: Enhancement: Improved auto Incremental seek for RDD now works with numeric, logical, date and character indexes. oBrw:lSeekWild if set to true works for character indexes. To avail this feature, browse is to be created with AUTOSORT clause and bSeek should not be assigned in the application code.

* xbrowse.prg: Enhancement: COLUMNS clause while defining Xbrowse can contain names of fields as well as codeblocks in any order.

* Enhancement: Class TExplorerBar in source\classes\texplbar.prg. New alpha bitmap support in panel header.

* Enhancement: Class TFolderEx in source\classes\tfoldex.PRG, folder.ch, testfx1.prg
Added animation to transition folder with custom speed.

* Fix: Class TUrlLink in source\classes\urllink.prg
fixed bug introduced in recent changes to Class TUrlLink, when use REDEFINE command was not painting text,
now is ok.

* Fix: proper scrollbar behavior in Class ExplorerBar!

* Fix: Class TXBrowse in source\classes\xbrowse.prg
EDIT_GET_LISTBOX not worked properly due to recent changes, now is ok.

* Fix: Error System in source\function\errsysw.prg
minor bug fixed introduced in last update.

* Enhancement: Class TButton in source\classes\button.prg
New way to simulate click when VK_RETURN is pressed.

* Fix: Class TRBtn (RibonBar buttons) in source\classes\trbtn.prg
Fixed bug in show/hide popup menu.

* Enhancement: Error System in source\function\errsysw.prg
New function SetErrorPath( cPath )
Set path to save error.log file, without argument return current path else
return last path selected

* Fix: ACTIVEX support, fixed old gpf when hb_oleVariantUpdate gets called.

* Enhancement: RibbonBar, in source\function\ribbon.c
New argument in function BrightImg to detect alpha channel in bitmap

* Fix: Fixed incompatibility with current function IsWin64(), reported by Davide
viewtopic.php?p=103287#p103287

New function IsWow64() to detect 64 OS from 32 bits applications

* Enhancement: reg32.prg, support for 32bit running under 64 bit

* Fix: RIBBONBAR ..... OPTION <n> was not working, now is ok.
Solution suggested by Mr. Rao

* New: Class TFolderEx, very powerfull folders with lots of new features.
Please review samples testfx1.prg, testfx2.prg, testfx3.prg

* Enhancement: Class TGif in source\classes\tgif.prg, fixed flickering.

* New: function fnAddBitmap( uBmp, hInstance ) in source\function\etc.prg, to load
bitmaps from file or resource -> hBitmap

* Fix: fixed memory leak in Class TBrush in source\classes\brush.prg
regards, saludos

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

Re: New FTDN August/Agosto 2010 (FWH 10.8)

Postby Antonio Linares » Thu Sep 02, 2010 3:49 pm

We have published a revised FWH 10.8 build:

* Fix: Class TXBrowse Method Initiate() was setting twice the used font. Now it is ok.
Thanks to Richard Chidiak for his feedback.

* Fix: TXBrowse: Autosort and bLClickHeader were not working when oBrw:lAllowColSwapping is .F.. Fixed now.

* XBrowse.Prg: Enhancement: oCol:cEditPicture can be codeblock also.

* XBrowse.prg: Enhancement: method AddBitmap() now accepts array of bitmaps/resources

* database.prg: Improved method addcol(...) for calculated columns.
regards, saludos

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

Re: New FTDN August/Agosto 2010 (FWH 10.8)

Postby AIDA » Mon Sep 06, 2010 5:33 am

Hola Antonio espero te encuentres muy bien :D

fijate que el ejemplo testfx2.prg no esta incluido :(

Te mando muchos Saluditos :wink:
Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P

I love Fivewin

séʌǝɹ ןɐ ɐʇsǝ opunɯ ǝʇsǝ
User avatar
AIDA
 
Posts: 879
Joined: Fri Jan 12, 2007 8:35 pm

Re: New FTDN August/Agosto 2010 (FWH 10.8)

Postby Antonio Linares » Mon Sep 06, 2010 9:38 am

Aida,

Tienes razón, se nos ha pasado incluirlo. Vamos a revisarlo, gracias :-)
regards, saludos

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