November 2011
=============
* Fix: Some required changes on METHOD GoNextCtrl( hCtrl ) CLASS TWindow, bugs reported in:
viewtopic.php?f=3&t=22853&start=0
XBROWSE:
Enhancements:
* New method in TXBrwColumn class: SetColsAsRows( aCols )
All the column values of aCols will be shown as rows inside the cell of the first column.
* Fix: GoNextCtrl and GoPrevCtr methods in Window.prg: When a control looses focus, focus does not go to next/previous control having TABSTOP style if the next control does not have TABSTOP style in case of controls on Window which is not a dialog. Fixed.
* Enhancement: function LogFile() supports a single second parameter of any type, i.e.:
LogFile( "test.txt", Time() )
* New: Class TMdiFrame() Method Zoom(), CloseActive(), please review samples\erp2.prg
* New: Class TWindow Method Gradient( aGradColors )
* New: DEFINE DIALOG oDlg GRADIENT <aGradColors>, in example:
DEFINE DIALOG oDlg TITLE "Test" ;
GRADIENT { { 0.25, nRGB( 219, 230, 244 ), nRGB( 207, 221, 239 ) },;
{ 0.75, nRGB( 201, 217, 237 ), nRGB( 231, 242, 255 ) } }
ACTIVATE DIALOG oDlg CENTERED
* New: function SetDlgGradient( aGradColors ) sets a gobal setting for all dialogs to use a
specific GRADIENT though each dialog can override it using is own GRADIENT colors. Example:
SetDlgGradient( { { 1, RGB( 199, 216, 237 ), RGB( 237, 242, 248 ) } } )
* Enhancement: Class TBtnBmp now supports gradient colors assigned to DATA bClrGrad. In exmaple:
local oBtn, bClrGrad := { | lPressed | If( ! lPressed,;
{ { 1, nRGB( 253, 254, 255 ), nRGB( 179, 217, 255 ) } },;
{ { 1, nRGB( 179, 217, 255 ), nRGB( 253, 254, 255 ) } } ) }
...
@ 55, 30 BTNBMP oBtn PROMPT "Ok" FILENAME "..\bitmaps\32x32\yes2.bmp" SIZE 50, 15 ;
LEFT NOBORDER ACTION oDlg:End()
oBtn:bClrGrad = bClrGrad
Also, for gradient support without changing on mouse over:
@ 55, 30 BTNBMP oBtn ... GRADIENT aGradColors
Result: viewtopic.php?p=122246#p122246
* Fix: Solved error in function function Alert( cMsg, aOptions, cTitle, nDefault, xIcon ):
viewtopic.php?p=122311#p122311
* Enhancement: Class TXBrwColumn new DATA lWillShowABtn ("will show a button") instructs
the column data painting to respect the right width for an ocassional button that may
appear on the right side of the column when DATA nEditType is dinamically assigned.
Please review samples\erp2.prg for an example of use.
* Fix: Bug reported by Mauri in Class TWindow Method GoNextCtrl():
viewtopic.php?p=122406#p122406
* Enhancement: clause 2010 support for BUTTONBAR, i.e.:
DEFINE BUTTONBAR oBar OF oWnd 2010 SIZE 70, 70
* Fix: class TExplorerlist, now the action is launched after detect open/close item
PNG
Fivewin now support PNG images without external dll, link png.lib and zip libraries from [x]Harbour
+ new function ConvertEmf2Png( hMetaFile, nHeight, nWidth, cFileName ): convert a Meta file <hMetaFile> with
Height <nHeight> x Width <nWidth> to output file <cFileName>
see the sample testprn6.prg to convert metafile to PDF, link png.lib and pdf libraries from [x]Harbour
+ new function FWOpenPngFile( <cFileName> ) Open a png File in <cFileName> return a bitmap handle
+ new function FWPngFromMemory( <Bytes> ) Open a png File from array bytes <Bytes> return a bitmap handle
+ new function Save2PngFile( <hBitmap>, <cFileName> ) Save the bitmap handle <hBitmap> to png filename <cFileName>
+ new method SaveToPng( <cFileName> ) in Class Window, save the current windows to png file <cFileName>
* Enhancement: samples\FiveGen\* have been updated to properly build with Harbour. Just run go.bat. FiveGen is
a RAD based on Class TDictionary. We are enhancing it to complete all its functionality. You should review it,
its worth to do it
* Enhancement: More development on Class TTxtEdit. Please review samples\erp2.prg for an example of use.
* New: great errorsys from Stefan Haupt, with this recent changelog. Many thanks to Stefan!
// 16.11.11 - portuguese language updated
// 20.11.11 - changed error directory name from "error" to "support" (sysERRORSDIR)
// - changed SetIniPath() to SetErrIniPath() to avoid name conflicts
// - added SetErrDefaultPath () to change the default path for error.dbf
* New: Class TVistaMenu from CanalFive (Paco García). Please review samples\vistamn1.prg.
Many thanks to Paco!
* New: function MsgYesNoCancel( cMsg, cTitle ) --> 6 (Yes), 7 (No), 2 (Cancel)
* New: function DrawTiled( hDC, oWnd, oBmp ) to paint tiled bitmaps on the window surface.
* Enhancement: Class TTxtEdit Methods Find( cText, nFromLine ), SearchAgain(), DlgFind().
Please review samples\ide.prg (Classic IDE test).
* Enhancement: Command GROUP, added missing SIZE nWidth, nHeight clause.
* Fix: Disabled ComboBoxes with CBS_DROPDOWN style where showing their GET with a
different font.
* Enhancement: Class TDialog Method cGenPrg() uses dialog units to generate its source.
Please review a dialog designer in samples\design.prg that uses it.
* New: function SaveDesktop( cPngFileName ) saves the whole desktop image as a PNG file.
In example:
ACTIVATE DIALOG oDlg CENTERED ;
ON RIGHT CLICK SaveDesktop( "c:\desktop.png" )