Page 1 of 1

New FTDN January/Enero 2010 (10.1)

Posted: Tue Jan 26, 2010 1:07 pm
by Antonio Linares
January 2010
============

* Enhancement: Added bPainted codeblock support to Class TPanel Method Paint().

* Enhancement: FWH\samples\TestTrn2.prg and TestTrn2.rc have been adapted to properly
support recent Class TGroup transparency support.

* Fix: Class TRBtn (Buttons for the RibbonBar) popup menus are properly placed on XP. This was
working fine on Windows 7 but failed on XP. Now it is ok.

* Fix: Class TMultiGet Method KeyChar(), VK_RETURN key fires ON CHANGE event now.

* Fix: Class TScrollBar Methods PageUp() and PageDown(), SetPos() is now called before the evaluation
of the codeblocks bPageUp and bPageDown, as in the similar methods GoUp(), GoDown, etc.

* Fix: Class TBtnBmp Method Paint(): the alignment of prompts in 2007 mode should be ok now.

* Fix: Class TRBtn Popup menu activation when type is TYPE_SPLITPOPUP.

* Enhancement: Some required changes in Class TRBtn to properly place related popup menus.

* Enhancement: Function MGetReplace() (used by Replace() method of TMultiGet class), the operation
can now be undone using CTRL-Z.

* Enhancement: Function cValToStr() in ValBlank.Prg: If date format contains 'HH' or 'hh', time value also
is formatted according the set time format and is included. Case in picture format is preserved for months.
Example: cValToStr( <datetime>, 'DD-MMM-YYYY HH' ) -> 01-JAN-2010 09:10:00 PM
XBrowse uses this function for formatting its output.

* Fix: Class TMenuItem Method SetPrompt(), 2007 style was not respected.

* New: Class TXBrowse Method AddBitmap( cBmpFie/cResource/nBmpHandle ) --> nBmpNo

Now, in addition to adding bitmaps to different columns, bitmaps can also be added to Browse object, which can be referred from any column. If a column object's bitmap array is empty, columns bitmapno refers to the browse objects bitmap array. A column can also refer to browse's bitmap array if the bitmapno is negative, even if the column has its own bitmap array. Adding bitmaps to the browse's bitmap array is useful in cases where different column objects use the same bitmap. In such cases, adding the same bitmap to each column can be avoided.

* New: Class TXBrwColumn Method AddBitmap( cBmpFile/cResource/nBmpHandle ) --> nBmpNo

This new method accepts either bitmap file name, resource name or bitmap handle as its paramter and returns the position of the bitmap in the bitmaps array. Return value of 0 indicates failure.

* Modified: Methods AddBmpFile, AddResource, AddBmpHandle. Now all these three methods accept cBitmapfile or cResource of nBmpHandle. Additional second parameter by reference returns the position of the bitmap in the
bitmaps array.

* Fix: Class TTrayIcon Method New(), a pixel was painted in the top-left corner of the desktop.

* Improved: MEMOEDIT function now automatically recognises GTF format also in addition to RTF. Now text, RTF and
GTF can be edited with MemoEdit() function

* Improved: XBrowse. GTF formatted text in a column is displayed as text.

* Enhancement: Class TGet ACTION and SPINNER clauses support if used together. Thanks to SGS!

* New: FWPPC, added Class TImage based on imgdecmp.dll.

* New: Class TBtnBmp support for NOBORDER clause in its commands.
Modified Class TBtnBmp to use the NOBORDER clause.

* New: Command REDEFINE RBTN for Class TRBtn. samples\ribbon.prg and ribbon.c have been modified to test this
new REDEFINE command.

* Enhancement: Class TListBox Method Set( cNewItem ) returns nAt value.

* We are working on the new FWPPC version that we expect to deliver by early February (sorry for the delay) :-)